Class: GSL::Vector

### Home Classes Methods

### In Files

- lib/classifier-reborn/extensions/vector_serialize.rb

### Parent

Object

### Methods

- ::_load
- #_dump

### Files

- LICENSE

### Class/Module Index

Quicksearch

- ClassifierReborn
- ClassifierReborn::Bayes
- ClassifierReborn::CategoryNamer
- ClassifierReborn::ContentNode
- ClassifierReborn::Hasher
- ClassifierReborn::LSI
- ClassifierReborn::Summarizer
- ClassifierReborn::WordList
- GSL
- GSL::Matrix
- GSL::Vector
- Matrix

No matching classes.

# GSL::Vector

### Public Class Methods

_load(arr) click to toggle source

    # File lib/classifier-reborn/extensions/vector_serialize.rb, line 8
    def self._load(arr)
      arry = Marshal.load(arr)
      return GSL::Vector.alloc(arry)
    end

### Public Instance Methods

_dump(v) click to toggle source

    # File lib/classifier-reborn/extensions/vector_serialize.rb, line 4
    def _dump(v)
      Marshal.dump( self.to_a )
    end

[Validate]

Generated with the Darkfish Rdoc Generator 2.