This repository has been archived on 2024-06-20. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
coffee.pygments/tests/examplefiles/scilab/bench_chol.tst
Max Horn f4976545a1
Add GAP console session mode (#2211)
* 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
2022-08-19 22:19:14 +02:00

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 -->