Closed t-ae closed 7 years ago
Implement NDArray<T>.
NDArray<T>
features:
zeros
ones
eye
range
linspace
subscript
reshaped
transposed
stack
concatenate
sqrt
exp
log
sin
cos
tan
min
max
sum
mean
This PR also contains source file location changes.
NDArray has some naive implementations, and not swifty but numpy-like APIs. Reviews are seriously needed.
NDArray
Implement
NDArray<T>
.features:
zeros
,ones
,eye
,range
,linspace
)subscript
(Get a element or subarray)reshaped
,transposed
)stack
,concatenate
)sqrt
,exp
,log
,sin
,cos
,tan
min
,max
,sum
,mean
This PR also contains source file location changes.