270件ヒット
[1-100件を表示]
(0.144秒)
別のキーワード
ライブラリ
- ビルトイン (36)
- benchmark (12)
- matrix (12)
-
net
/ ftp (12) -
rexml
/ document (60) -
rexml
/ sax2listener (12) -
rexml
/ streamlistener (12) -
rubygems
/ source _ info _ cache (24) - shell (12)
-
shell
/ command-processor (12) -
shell
/ filter (24) -
shell
/ system-command (30)
クラス
-
Benchmark
:: Tms (12) -
Gem
:: SourceInfoCache (24) - Matrix (12)
-
Net
:: FTP (12) -
RDoc
:: Options (12) -
REXML
:: DocType (36) -
REXML
:: Entity (12) -
REXML
:: NotationDecl (12) - Shell (12)
-
Shell
:: CommandProcessor (12) -
Shell
:: Filter (24) -
Shell
:: SystemCommand (30) - String (12)
- SystemCallError (12)
- SystemExit (12)
モジュール
-
REXML
:: SAX2Listener (12) -
REXML
:: StreamListener (12)
キーワード
- command (6)
- doctype (24)
- echo (18)
- eigensystem (12)
- errno (12)
- external (12)
-
external
_ id (12) - format (12)
- glob (18)
- kill (6)
-
latest
_ system _ cache _ file (12) - name (6)
- notify (12)
-
op
_ dir (12) - public (12)
- status (12)
- sum (12)
-
system
_ cache _ file (12) -
to
_ a (6) -
to
_ s (6)
検索結果
先頭5件
-
REXML
:: DocType # system -> String | nil (18220.0) -
DTD のシステム識別子を返します。
..."http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EOS
doctype.system # => "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
doctype.public # => "-//W3C//DTD XHTML 1.0 Strict//EN"
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE root SYSTEM "foobar">
EOS
doctype.system # => "foobar"
doc... -
Net
:: FTP # system -> String (18202.0) -
サーバーの OS のタイプを返します。
サーバーの OS のタイプを返します。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コードが 5yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。
@raise Net::FTPReplyError 応答コードが上の場合以外でエラーである場合に発生します。 -
REXML
:: NotationDecl # system -> String | nil (18202.0) -
システム識別子(URI)を返します。
システム識別子(URI)を返します。
宣言がシステム識別子を含まない場合は nil を返します。 -
Matrix
# eigensystem -> Matrix :: EigenvalueDecomposition (9301.0) -
行列の固有値と左右の固有ベクトルを保持したオブジェクトを返します。
...行列の固有値と左右の固有ベクトルを保持したオブジェクトを返します。
Matrix::EigenvalueDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(右固有ベクトル、固有値行列、左固有ベクトル)
を得ることがで......re 'matrix'
m = Matrix[[1, 2], [3, 4]]
v, d, v_inv = m.eigensystem
d.diagonal? # => true
v.inv == v_inv # => true
(v * d * v_inv).round(5) == m # => true
//}
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します
@see Matrix::EigenvalueDecomposition... -
Gem
:: SourceInfoCache # latest _ system _ cache _ file -> String (9202.0) -
最新のシステムキャッシュのファイル名を返します。
最新のシステムキャッシュのファイル名を返します。 -
Gem
:: SourceInfoCache # system _ cache _ file -> String (9202.0) -
システムキャッシュファイルの名前を返します。
システムキャッシュファイルの名前を返します。 -
Shell
# glob(pattern) -> Shell :: Filter (6107.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...attern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |f... -
Shell
:: CommandProcessor # glob(pattern) -> Shell :: Filter (6107.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...attern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |f... -
Shell
:: Filter # glob(pattern) -> Shell :: Filter (6107.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...attern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |f... -
String
# sum(bits = 16) -> Integer (3107.0) -
文字列の bits ビットのチェックサムを計算します。
...+= c }
return 0 if sum == 0
sum & ((1 << bits) - 1)
end
//}
例えば以下のコードで UNIX System V の
sum(1) コマンドと同じ値が得られます。
//emlist[例][ruby]{
sum = 0
ARGF.each_line do |line|
sum += line.sum
end
sum %= 65536
//}
@param bits チェックサムの...