NewArrayF32 creates a returns a new array of floats with the specified initial size and capacity
(size, capacity int)
| 14 | // NewArrayF32 creates a returns a new array of floats |
| 15 | // with the specified initial size and capacity |
| 16 | func NewArrayF32(size, capacity int) ArrayF32 { |
| 17 | |
| 18 | return make([]float32, size, capacity) |
| 19 | } |
| 20 | |
| 21 | // Bytes returns the size of the array in bytes |
| 22 | func (a *ArrayF32) Bytes() int { |
no outgoing calls
no test coverage detected