Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
aitk
master
Aitk
AbstractOptimizer
Clustering
Cluster
KMeans
GreedyRandomOptimizer
HillClimbingOptimizer
NelderMeadOptimizer
RBF
BaseTrainer
GaussianFunction
GreedyRandomTrainer
HillClimbingTrainer
Network
SimulatedAnnealingTrainer
SimulatedAnnealingOptimizer
Vector
Built with Crystal 1.10.0
2023-12-06 15:16:01 UTC
class
Aitk::
Vector
Aitk::Vector
Reference
Object
Defined in:
aitk/vector.cr
Constructors
.new
(array : Array(Float64))
.new
(size : Int)
Instance Method Summary
#*
(mult)
#+
(vec)
#-
(vec)
#-
#/
(div)
#[]
(i)
#array
: Array(Float64)
#size
Constructor Detail
def self.
new
(array : Array(Float64))
#
[
View source
]
def self.
new
(size : Int)
#
[
View source
]
Instance Method Detail
def
*
(mult)
#
[
View source
]
def
+
(vec)
#
[
View source
]
def
-
(vec)
#
[
View source
]
def
-
#
[
View source
]
def
/
(div)
#
[
View source
]
def
[]
(i)
#
[
View source
]
def
array
: Array(Float64)
#
[
View source
]
def
size
#
[
View source
]