object VectorI extends Serializable
The VectorI
object is the companion object for the VectorI
class.
- Alphabetic
- By Inheritance
- VectorI
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
++(b: Int, u: VectorI): VectorI
Concatenate scalar 'b' and vector 'u'.
Concatenate scalar 'b' and vector 'u'.
- b
the scalar to be concatenated - first part
- u
the vector to be concatenated - second part (same kind, more efficient)
-
def
++(b: Int, u: VectoI): VectorI
Concatenate scalar 'b' and vector 'u'.
Concatenate scalar 'b' and vector 'u'.
- b
the scalar to be concatenated - first part
- u
the vector to be concatenated - second part (any kind)
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply(xs: Array[String], skip: Int): VectorI
Create a
VectorI
from an array of Strings, skipping the first 'skip' elements.Create a
VectorI
from an array of Strings, skipping the first 'skip' elements. If an element is non-numeric, use its hashcode. FIX: Might be better to map non-numeric Strings to ordinal values.- xs
the array of the Strings
- skip
the number of elements at the beginning to skip (e.g., id column)
-
def
apply(xs: Array[String]): VectorI
Create a
VectorI
from an array of Strings.Create a
VectorI
from an array of Strings.- xs
the array of the Strings
-
def
apply(x: String, xs: String*): VectorI
Create a
VectorI
from one or more values (repeated values String*).Create a
VectorI
from one or more values (repeated values String*).- x
the first String
- xs
the rest of the Strings
-
def
apply(xs: Seq[Int]): VectorI
Create a
VectorI
from a sequence/array ofInt
s.Create a
VectorI
from a sequence/array ofInt
s.- xs
the sequence/array of the
Int
numbers
-
def
apply(x: Int, xs: Int*): VectorI
Create a
VectorI
from one or more values (repeated valuesInt
*).Create a
VectorI
from one or more values (repeated valuesInt
*).- x
the first
Int
number- xs
the rest of the
Int
numbers
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
fill(n: Int)(x: Int): VectorI
Create a
VectorI
with 'n' elements and fill it with the value 'x'.Create a
VectorI
with 'n' elements and fill it with the value 'x'.- n
the number of elements
- x
the value to assign to all elements
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
one(size: Int): VectorI
Create a one vector (all elements are one) of length 'size'.
Create a one vector (all elements are one) of length 'size'.
- size
the size of the new vector
-
def
range(start: Int, end: Int): VectorI
Return a
VectorI
containing a sequence of increasing integers in a range.Return a
VectorI
containing a sequence of increasing integers in a range.- start
the start value of the vector, inclusive
- end
the end value of the vector, exclusive (i.e., the first value not returned)
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )