537件ヒット
[1-100件を表示]
(0.254秒)
ライブラリ
- ビルトイン (66)
- benchmark (44)
- matrix (11)
- mkmf (11)
-
net
/ ftp (11) - rake (22)
-
rexml
/ document (55) -
rexml
/ sax2listener (22) -
rexml
/ streamlistener (33) -
rubygems
/ source _ info _ cache (22) - shell (48)
-
shell
/ command-processor (42) -
shell
/ filter (78) -
shell
/ system-command (72)
クラス
-
Benchmark
:: Tms (44) -
File
:: Stat (11) -
Gem
:: SourceInfoCache (22) - IO (11)
- Matrix (11)
-
Net
:: FTP (11) -
REXML
:: DocType (33) -
REXML
:: Entity (11) -
REXML
:: NotationDecl (11) -
Rake
:: Application (11) - Shell (48)
-
Shell
:: CommandProcessor (42) -
Shell
:: Filter (78) -
Shell
:: SystemCommand (72) - String (11)
- SystemCallError (11)
- SystemExit (22)
モジュール
- FileUtils (11)
- Kernel (11)
-
REXML
:: SAX2Listener (22) -
REXML
:: StreamListener (33)
キーワード
- < (6)
- > (6)
- >> (6)
- active? (6)
- cat (18)
-
close
_ on _ exec= (11) - command (6)
- cstime (11)
- doctype (22)
- echo (18)
- eigensystem (11)
- entitydecl (11)
- errno (11)
- external (11)
-
external
_ id (11) - flush (6)
- format (11)
- glob (18)
- kill (6)
-
latest
_ system _ cache _ file (11) - name (6)
- notationdecl (22)
- notify (12)
- out (18)
- pipe? (11)
- public (11)
- sh (11)
- start (6)
-
start
_ import (6) - status (11)
- stime (11)
- success? (11)
- sum (11)
-
super
_ each (6) -
system
_ cache _ file (11) -
system
_ path (6) - tee (18)
- terminate (6)
-
to
_ a (17) -
to
_ s (6) - transact (18)
- wait? (6)
- xsystem (11)
- | (6)
検索結果
先頭5件
-
Shell
# system(command , *opts) -> Shell :: SystemCommand (24520.0) -
command を実行する.
...で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (24520.0) -
command を実行する.
...で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
:: Filter # system(command , *opts) -> Shell :: SystemCommand (24520.0) -
command を実行する.
...で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
REXML
:: DocType # system -> String | nil (24332.0) -
DTD のシステム識別子を返します。
...//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"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"
doctype.public # => nil
//}... -
Net
:: FTP # system -> String (24302.0) -
サーバーの OS のタイプを返します。
...す。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コードが 5yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。
@raise Net::FTPReplyError 応答コ... -
REXML
:: NotationDecl # system -> String | nil (24302.0) -
システム識別子(URI)を返します。
システム識別子(URI)を返します。
宣言がシステム識別子を含まない場合は nil を返します。 -
Gem
:: SourceInfoCache # latest _ system _ cache _ file -> String (15302.0) -
最新のシステムキャッシュのファイル名を返します。
最新のシステムキャッシュのファイル名を返します。 -
Gem
:: SourceInfoCache # system _ cache _ file -> String (15302.0) -
システムキャッシュファイルの名前を返します。
システムキャッシュファイルの名前を返します。 -
Kernel
# xsystem(command , opts = nil) -> () (12323.0) -
Kernel.#system と同じですが、コマンドの出力は(標準出力、標準エラー 出力ともに)ログファイルに出力します。ログファイル名は mkmf.log です。
...Kernel.#system と同じですが、コマンドの出力は(標準出力、標準エラー
出力ともに)ログファイルに出力します。ログファイル名は mkmf.log です。
@param command コマンドを指定します。
@param opts オプションを Hash で指定します。......:werror というキーに真を指定すると
@see Kernel.#system... -
Shell
# system _ path -> Array (12315.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Matrix
# eigensystem -> Matrix :: EigenvalueDecomposition (9401.0) -
行列の固有値と左右の固有ベクトルを保持したオブジェクトを返します。
...行列の固有値と左右の固有ベクトルを保持したオブジェクトを返します。
Matrix::EigenvalueDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(右固有ベクトル、固有値行列、左固有ベクトル)
を得ることがで......self == V*D*W, V = W.inverse を満たします。
D のそれぞれの対角成分が行列の固有値です。
//emlist[例][ruby]{
require '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...