summaryrefslogtreecommitdiff
path: root/modules/statistics/tests/benchmarks/bench_pca.tst
blob: bf6556a6f98571721a9650f78db8be0759e4c80c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// =============================================================================
// Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
// Copyright (C) 2007-2008 - INRIA
//
//  This file is distributed under the same license as the Scilab package.
// =============================================================================

//==============================================================================
// Benchmark for sva function
//==============================================================================

// <-- BENCH NB RUN : 100 -->
stacksize(80000000);
A = rand(1000,100,'n');

// <-- BENCH START -->
[lambda,facpr,comprinc] = pca(A);
// <-- BENCH END -->