class Apatite::LinearAlgebra::NDArray

Included Modules

Defined in:

apatite/linear_algebra/ndarray.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(data : Array(Number), shape : Array(Int32)? = nil) #

[View source]

Instance Method Detail

def [](*args, **options) #

[View source]
def [](*args, **options, &block) #

[View source]
def []=(*args, **options) #

[View source]
def []?(*args, **options) #

[View source]
def []?(*args, **options, &block) #

[View source]
def abs #

Returns the absolute value of every item in the array


[View source]
def acos #

Returns the arccosine of each element in the current array.


[View source]
def data : Array(Float64) #

[View source]
def shape : Array(Int32) #

[View source]
def size(*args, **options) #

[View source]
def size(*args, **options, &block) #

[View source]
def to_unsafe(*args, **options) #

[View source]
def to_unsafe(*args, **options, &block) #

[View source]
def unsafe_fetch(*args, **options) #

[View source]
def unsafe_fetch(*args, **options, &block) #

[View source]