blob: d03eea05d736b300eeb8920baf6432b67a7104c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// =============================================================================
// 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 chol function
//==============================================================================
// <-- BENCH NB RUN : 10 -->
stacksize(30000000);
a = 0;
b = 0;
a = rand(900, 900, 'n');
a = a'*a;
// <-- BENCH START -->
b = chol(a);
// <-- BENCH END -->
|