558件ヒット
[101-200件を表示]
(0.244秒)
ライブラリ
- ビルトイン (48)
- benchmark (48)
- matrix (12)
- mkmf (12)
-
net
/ ftp (12) - rake (12)
-
rexml
/ document (72) -
rexml
/ sax2listener (24) -
rexml
/ streamlistener (36) -
rubygems
/ source _ info _ cache (24) - shell (36)
-
shell
/ command-processor (48) -
shell
/ filter (72) -
shell
/ system-command (90)
クラス
-
Benchmark
:: Tms (48) -
Gem
:: SourceInfoCache (24) - IO (12)
- Matrix (12)
-
Net
:: FTP (12) -
RDoc
:: Options (12) -
REXML
:: DocType (36) -
REXML
:: Entity (12) -
REXML
:: NotationDecl (24) -
Rake
:: Application (12) - Shell (36)
-
Shell
:: CommandProcessor (48) -
Shell
:: Filter (72) -
Shell
:: SystemCommand (90) - String (12)
- SystemCallError (12)
- SystemExit (12)
モジュール
- Kernel (12)
-
REXML
:: SAX2Listener (24) -
REXML
:: StreamListener (36)
キーワード
- < (6)
- > (6)
- >> (6)
- active? (6)
- cat (6)
-
close
_ on _ exec= (12) - command (6)
- cstime (12)
- doctype (24)
- each (6)
- echo (18)
- eigensystem (12)
- entitydecl (12)
- errno (12)
- external (12)
-
external
_ id (12) -
find
_ system _ command (18) - flush (6)
- format (12)
- glob (18)
- input= (6)
- kill (6)
-
latest
_ system _ cache _ file (12) - name (6)
- notationdecl (24)
- notify (12)
-
op
_ dir (12) - out (18)
- public (12)
- start (6)
-
start
_ export (6) -
start
_ import (6) - status (12)
- stime (12)
- sum (12)
-
super
_ each (6) - system= (12)
-
system
_ cache _ file (12) - tee (6)
- terminate (6)
-
to
_ a (18) -
to
_ s (6) - transact (18)
- wait? (6)
- xsystem (12)
- | (6)
検索結果
先頭5件
-
Gem
:: SourceInfoCache # latest _ system _ cache _ file -> String (9202.0) -
最新のシステムキャッシュのファイル名を返します。
最新のシステムキャッシュのファイル名を返します。 -
Gem
:: SourceInfoCache # system _ cache _ file -> String (9202.0) -
システムキャッシュファイルの名前を返します。
システムキャッシュファイルの名前を返します。 -
Matrix
# eigensystem -> Matrix :: EigenvalueDecomposition (9201.0) -
行列の固有値と左右の固有ベクトルを保持したオブジェクトを返します。
...行列の固有値と左右の固有ベクトルを保持したオブジェクトを返します。
Matrix::EigenvalueDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(右固有ベクトル、固有値行列、左固有ベクトル)
を得ることがで......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 ExceptionFor......Matrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します
@see Matrix::EigenvalueDecomposition... -
Shell
:: SystemCommand # input=(inp) (9201.0) -
@todo
@todo -
REXML
:: NotationDecl # system=(value) (9102.0) -
システム識別子を変更します。
システム識別子を変更します。
@param value 設定するシステム識別子 -
Shell
:: SystemCommand # notify(*opts) -> String (9101.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (9101.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # terminate -> () (9101.0) -
@todo
@todo -
SystemCallError
# errno -> Integer | nil (9101.0) -
レシーバに対応するシステム依存のエラーコードを返します。
...は nil を返します。
begin
raise Errno::ENOENT
rescue Errno::ENOENT => err
p err.errno # => 2
p Errno::ENOENT::Errno # => 2
end
begin
raise SystemCallError, 'message'
rescue SystemCallError => err
p err.errno # => nil
end......なお、例外を発生させずにエラーコードを得るには、
Errno::EXXX::Errno 定数を使います。... -
REXML
:: StreamListener # entitydecl(content) -> () (6325.0) -
DTDの実体宣言をパースしたときに呼び出されるコールバックメソッドです。
...す。
@param content 実体宣言が配列で渡されます
実体宣言の書き方によって content に渡されるデータの形式が異なります。
//emlist[][ruby]{
require 'rexml/parsers/baseparser'
require 'rexml/parsers/streamparser'
require 'rexml/streamlistener'
xml = <<EOS
<!......t [
<!ENTITY % YN '"Yes"'>
<!ENTITY % YN 'Yes'>
<!ENTITY WhatHeSaid "He said %YN;">
<!ENTITY open-hatch SYSTEM "http://www.textuality.com/boilerplate/OpenHatch.xml">
<!ENTITY open-hatch PUBLIC "-//Textuality//TEXT Standard open-hatch boilerplate//EN" "http://www.textuality.com/boilerplate/OpenHatch.......xml">
<!ENTITY hatch-pic SYSTEM "../grafix/OpenHatch.gif" NDATA gif>
]>
<root />
EOS
class Listener
include REXML::StreamListener
def entitydecl(content); p content; end
end
REXML::Parsers::StreamParser.new(xml, Listener.new).parse
# >> ["YN", "\"Yes\"", "%"]
# >> ["YN", "Yes", "%"]
# >> ["What... -
REXML
:: SAX2Listener # notationdecl(name , public _ or _ system , public _ id , system _ id) -> () (6321.0) -
DTDの記法宣言に出会ったときに呼び出されるコールバックメソッドです。
...ッドです。
@param name 記法名が文字列で渡されます
@param public_or_system "PUBLIC" もしくは "SYSTEM" が渡されます
@param public_id 公開識別子が文字列で渡されます。指定されていない場合はnilが渡されます
@param system_id システム識別......子が文字列で渡されます。指定されていない場合はnilが渡されます...