RangeTrait
trait RangeTrait (View source)
Methods
static NdArray
arange(int|float $start, int|float $end = null, int|float $step = 1)
Creates a NdArray with a range of values
static
linspace($start, $end, int $num = 50, bool $endpoint = true, bool $retstep = false)
No description
Details
final static NdArray
arange(int|float $start, int|float $end = null, int|float $step = 1)
Creates a NdArray with a range of values
final static
linspace($start, $end, int $num = 50, bool $endpoint = true, bool $retstep = false)
final static NdArray
logspace(int|float $start, int|float $end, int $num = 50, bool $endpoint = true, float $base = 10)
Creates a NdArray with a range of values