class

LA::Utils::WorkArea

Inherits Reference / Object

Work arrays area for lapack routines It is not thread safe, so should be used inside SimplePool

Instance methods

get(n) : Bytes

allocate and return Bytes of size n

Source
get_cmplx(n) : Slice(LibCBLAS::ComplexDouble)

allocate and return Slice(LibCBLAS::ComplexDouble) of size n

Source
get_f32(n) : Slice(Float32)

allocate and return Slice(Float32) of size n

Source
get_f64(n) : Slice(Float64)

allocate and return Slice(Float64) of size n

Source
get_i32(n) : Slice(Int32)

allocate and return Slice(Int32) of size n

Source
reallocate(required_size)

increase internal area to required_size

Source
release

release all allocated arrays

Source