Class: Colt

Inherits:
Object
  • Object
show all
Defined in:
lib/colt/colt.rb,
lib/colt/matrix/algebra.rb,
lib/colt/matrix/property.rb

Overview

Copyright © 2013 Rodrigo Botafogo. All Rights Reserved. Permission to use, copy, modify, and distribute this software and its documentation for educational, research, and not-for-profit purposes, without fee and without a signed licensing agreement, is hereby granted, provided that the above copyright notice, this paragraph and the following two paragraphs appear in all copies, modifications, and distributions. Contact Rodrigo Botafogo - [email protected] for commercial licensing opportunities.

IN NO EVENT SHALL RODRIGO BOTAFOGO BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF RODRIGO BOTAFOGO HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

RODRIGO BOTAFOGO SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE AND ACCOMPANYING DOCUMENTATION, IF ANY, PROVIDED HEREUNDER IS PROVIDED “AS IS”. RODRIGO BOTAFOGO HAS NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.

Defined Under Namespace

Modules: Matrix1DAlgebra, Matrix2DAlgebra, Matrix2DDoubleAlgebra, Matrix2DFloatAlgebra, Matrix2DFloatingAlgebra, MatrixFloatingAlgebra, Property

Class Method Summary collapse

Class Method Details

.processorsObject





33
34
35
# File 'lib/colt/colt.rb', line 33

def self.processors
  Java::EduEmoryMathcsUtils::ConcurrencyUtils.get_number_of_processors
end

.threadsObject





41
42
43
# File 'lib/colt/colt.rb', line 41

def self.threads
  Java::EduEmoryMathcsUtils::ConcurrencyUtils.get_number_of_threads
end