* Add GAP console session mode This is also appropriate for GAP .tst files. Add `analyse_text` methods for `ScilabLexer` and `GAPConsoleLexer` to distinguish Scilab and GAP .tst files * Use explicit name for 'keepends' argument to splitlines
23 lines
696 B
Scilab
23 lines
696 B
Scilab
// =============================================================================
|
|
// 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 -->
|