別のキーワード
ライブラリ
- English (1)
- ビルトイン (73)
- benchmark (3)
-
cgi
/ core (13) -
cgi
/ html (18) - csv (8)
- date (2)
- dbm (1)
- e2mmap (3)
- etc (3)
- fiddle (3)
- fileutils (1)
- getoptlong (6)
- ipaddr (1)
-
irb
/ context (11) - json (10)
-
json
/ add / complex (1) -
json
/ add / exception (1) -
json
/ add / ostruct (2) -
json
/ add / regexp (1) - matrix (36)
- mkmf (4)
-
net
/ ftp (3) -
net
/ http (14) -
net
/ imap (17) -
net
/ pop (1) -
net
/ smtp (1) - objspace (4)
- open-uri (6)
- openssl (43)
- optparse (38)
- pathname (1)
- prime (4)
- pstore (2)
- psych (10)
- rake (7)
-
rake
/ packagetask (2) -
rake
/ rdoctask (1) -
rake
/ testtask (2) - rbconfig (2)
-
rdoc
/ context (1) -
rdoc
/ generator / ri (1) -
rdoc
/ markup (2) -
rdoc
/ top _ level (1) - readline (2)
- rexml (1)
-
rexml
/ document (6) -
rexml
/ parsers / pullparser (1) -
rexml
/ sax2listener (1) -
rexml
/ streamlistener (2) - ripper (1)
-
ripper
/ lexer (1) - rss (2)
- rubygems (2)
-
rubygems
/ command (2) -
rubygems
/ commands / unpack _ command (1) -
rubygems
/ config _ file (2) -
rubygems
/ platform (1) -
rubygems
/ security (4) -
rubygems
/ specification (49) -
rubygems
/ user _ interaction (3) -
rubygems
/ version (2) - shell (1)
-
shell
/ process-controller (25) - socket (9)
- stringio (1)
- time (2)
- tracer (3)
- tsort (10)
- uri (4)
-
webrick
/ httpauth / authenticator (2) -
webrick
/ httpauth / digestauth (1) -
webrick
/ httprequest (1) -
webrick
/ httpresponse (9) -
webrick
/ httpservlet / abstract (9) -
webrick
/ httpstatus (1) -
webrick
/ httpversion (1) -
win32
/ registry (23) - zlib (10)
クラス
-
ARGF
. class (2) - Addrinfo (1)
- Array (1)
- BasicSocket (2)
-
Benchmark
:: Tms (1) - CGI (1)
- CSV (4)
-
CSV
:: Table (2) - Complex (1)
- DBM (1)
- Date (1)
- DateTime (1)
-
Encoding
:: Converter (8) -
Encoding
:: InvalidByteSequenceError (1) - Exception (7)
-
Fiddle
:: Function (3) -
Gem
:: Command (2) -
Gem
:: Commands :: UnpackCommand (1) -
Gem
:: ConfigFile (2) -
Gem
:: Platform (1) -
Gem
:: Security :: Policy (3) -
Gem
:: Specification (49) -
Gem
:: StreamUI :: SilentProgressReporter (1) -
Gem
:: StreamUI :: SimpleProgressReporter (1) -
Gem
:: StreamUI :: VerboseProgressReporter (1) -
Gem
:: Version (2) - GetoptLong (6)
- IO (5)
- IPAddr (1)
-
IRB
:: Context (11) -
JSON
:: Parser (1) -
JSON
:: State (4) - Matrix (11)
-
Matrix
:: EigenvalueDecomposition (10) -
Matrix
:: LUPDecomposition (10) - Module (3)
-
Net
:: FTP (3) -
Net
:: HTTP (5) -
Net
:: HTTPResponse (8) -
Net
:: IMAP (1) -
Net
:: IMAP :: BodyTypeBasic (2) -
Net
:: IMAP :: BodyTypeMessage (2) -
Net
:: IMAP :: BodyTypeText (2) -
Net
:: IMAP :: ContentDisposition (2) -
Net
:: IMAP :: ContinuationRequest (1) -
Net
:: IMAP :: ResponseCode (1) -
Net
:: IMAP :: ResponseText (1) -
Net
:: IMAP :: TaggedResponse (3) -
Net
:: IMAP :: UntaggedResponse (2) -
Net
:: POP3 (1) -
Net
:: SMTP (1) - Object (5)
-
OpenSSL
:: ASN1 :: Constructive (3) -
OpenSSL
:: ASN1 :: ObjectId (2) -
OpenSSL
:: Config (10) -
OpenSSL
:: OCSP :: Response (2) -
OpenSSL
:: SSL :: SSLContext (6) -
OpenSSL
:: SSL :: SSLSocket (1) -
OpenSSL
:: SSL :: Session (4) -
OpenSSL
:: X509 :: Extension (5) -
OpenSSL
:: X509 :: ExtensionFactory (1) -
OpenSSL
:: X509 :: StoreContext (2) - OpenStruct (2)
- OptionParser (28)
-
OptionParser
:: ParseError (6) - PStore (2)
- Pathname (1)
-
Prime
:: TrialDivisionGenerator (3) - Proc (1)
-
Psych
:: Nodes :: Node (2) -
Psych
:: SyntaxError (1) -
Psych
:: Visitors :: YAMLTree (1) -
RDoc
:: Context :: Section (1) -
RDoc
:: Generator :: RI (1) -
RDoc
:: Markup (2) -
RDoc
:: Options (20) -
RDoc
:: TopLevel (1) -
REXML
:: Attribute (1) -
REXML
:: Instruction (3) -
REXML
:: NotationDecl (1) -
REXML
:: ParseException (1) -
REXML
:: Parsers :: PullEvent (1) -
RSS
:: TrackBackModel20 :: TrackBackPing (2) -
Rake
:: Application (4) -
Rake
:: InvocationChain :: EmptyInvocationChain (1) -
Rake
:: PackageTask (2) -
Rake
:: RDocTask (1) -
Rake
:: TestTask (2) - Rational (2)
- Regexp (4)
- Ripper (2)
-
RubyVM
:: InstructionSequence (12) - Shell (1)
-
Shell
:: ProcessController (24) - SignalException (1)
- Socket (1)
-
Socket
:: Option (2) - String (18)
- StringIO (1)
-
Thread
:: Backtrace :: Location (3) - Time (4)
- TracePoint (1)
- Tracer (3)
- UDPSocket (1)
-
URI
:: Generic (1) -
URI
:: LDAP (1) -
WEBrick
:: HTTPAuth :: DigestAuth (1) -
WEBrick
:: HTTPRequest (1) -
WEBrick
:: HTTPResponse (9) -
WEBrick
:: HTTPServlet :: AbstractServlet (9) -
WEBrick
:: HTTPVersion (1) -
Win32
:: Registry (10) -
Zlib
:: Deflate (3) -
Zlib
:: GzipWriter (5) -
Zlib
:: Inflate (1)
モジュール
- Benchmark (2)
-
CGI
:: HtmlExtension (18) -
CGI
:: QueryExtension (12) - Etc (3)
- Exception2MessageMapper (2)
- FileUtils (1)
- Gem (2)
-
Gem
:: InstallUpdateOptions (1) -
Gem
:: Security (1) - JSON (5)
- Kernel (10)
-
Net
:: HTTPHeader (1) - ObjectSpace (4)
- OpenSSL (3)
-
OpenSSL
:: ASN1 (1) -
OpenSSL
:: Buffering (1) -
OpenSSL
:: OCSP (1) - OpenURI (1)
-
OpenURI
:: Meta (2) -
OpenURI
:: OpenRead (2) -
OptionParser
:: Arguable (4) - Psych (4)
-
REXML
:: SAX2Listener (1) -
REXML
:: StreamListener (2) -
Rake
:: TaskManager (1) - RbConfig (2)
- Readline (2)
-
Socket
:: Constants (2) - TSort (10)
- URI (2)
-
WEBrick
:: HTTPAuth :: Authenticator (2) -
WEBrick
:: HTTPStatus (1) -
Win32
:: Registry :: Constants (13) - Zlib (1)
キーワード
-
$ ERROR _ POSITION (1) - CAPTION (2)
-
CS
_ POSIX _ V6 _ WIDTH _ RESTRICTED _ ENVS (1) -
CS
_ POSIX _ V7 _ WIDTH _ RESTRICTED _ ENVS (1) - Constructive (1)
-
DEFAULT
_ CONFIG _ FILE (1) -
DEFAULT
_ UPDATE _ SOURCES (1) - DEPRECATED (1)
- DESCRIPTION (1)
- EigenvalueDecomposition (1)
- ErrDimensionMismatch (1)
- ErrNotRegisteredException (1)
- ErrNotRegular (1)
- ErrOperationNotDefined (1)
-
HKEY
_ PERFORMANCE _ DATA (1) -
HKEY
_ PERFORMANCE _ NLSTEXT (1) -
HKEY
_ PERFORMANCE _ TEXT (1) -
IP
_ PORTRANGE (1) - Instruction (1)
-
LIBYAML
_ VERSION (1) - LUPDecomposition (1)
-
NOPRINTING
_ IVARS (1) -
NO
_ INSPECTING _ IVARS (1) -
OPENSSL
_ LIBRARY _ VERSION (1) -
OPENSSL
_ VERSION (1) - ProcessController (1)
-
REG
_ EXPAND _ SZ (1) -
REG
_ FULL _ RESOURCE _ DESCRIPTOR (1) -
REG
_ LEGAL _ OPTION (1) -
REG
_ OPENED _ EXISTING _ KEY (1) -
REG
_ OPTION _ BACKUP _ RESTORE (1) -
REG
_ OPTION _ CREATE _ LINK (1) -
REG
_ OPTION _ NON _ VOLATILE (1) -
REG
_ OPTION _ OPEN _ LINK (1) -
REG
_ OPTION _ RESERVED (1) -
REG
_ OPTION _ VOLATILE (1) -
RESPONSE
_ STATUS _ TRYLATER (1) -
RUBY
_ DESCRIPTION (1) - ResponseField (1)
- ResponseInfoField (1)
- Revision (2)
- RubyGemsPackageVersion (1)
- RubyGemsVersion (1)
- Rubyの起動 (1)
-
SO
_ SECURITY _ ENCRYPTION _ TRANSPORT (2) - SPECIAL (1)
- TOPDIR (1)
- TrialDivisionGenerator (1)
-
USING
_ AT _ EXIT _ WHEN _ PROCESS _ EXIT (1) - VERSION (2)
- Version (1)
- [] (2)
-
_ _ inspect _ _ (1) -
_ dump (1) -
_ load (1) -
absolute
_ path (2) - accept (3)
-
accept
_ charset (1) -
accept
_ encoding (1) -
accept
_ language (1) - activate (1)
-
active
_ job? (1) -
active
_ jobs (1) -
active
_ jobs _ exist? (1) -
active
_ process _ controllers (1) -
add
_ schedule (1) -
add
_ trusted _ cert (1) -
add
_ value (1) -
allocation
_ sourcefile (1) -
ap
_ name (1) -
array
_ attribute (1) -
array
_ attributes (1) -
asciicompat
_ encoding (1) - attribute (1)
-
attribute
_ alias _ singular (1) -
attribute
_ defaults (1) -
attribute
_ names (1) - attributes (1)
-
auth
_ type (1) - authenticate (1)
- autoload? (1)
- autorequire (1)
- backtrace (1)
-
backtrace
_ locations (1) - benchmark (1)
- bindir (1)
- binread (2)
-
block
_ output _ synchronize (1) - body (2)
-
ca
_ file (1) -
ca
_ path (1) - call (1)
-
caller
_ locations (2) - canonname (1)
- capitalize (1)
- capitalize! (1)
- charset (1)
-
checkbox
_ group (2) - ciphers (1)
- clone (1)
- code (1)
-
cofactor
_ expansion (1) - compile (2)
-
compile
_ file (1) -
compile
_ option (1) -
compile
_ option= (1) -
completion
_ append _ character (1) -
completion
_ append _ character= (1) - component (1)
- concat (2)
-
const
_ defined? (1) -
const
_ get (1) - constants (1)
- content (3)
- content= (1)
-
content
_ encoding (1) -
content
_ id (3) -
content
_ type (5) - context (1)
- convert (1)
- create (3)
-
create
_ body (1) -
create
_ ext _ from _ string (1) - css (1)
- d (1)
- data (1)
- debug (1)
-
decode
_ www _ form _ component (1) -
default
_ argv (1) -
default
_ executable (1) - deflate (2)
- desc (1)
- description (5)
- det (1)
- determinant (1)
- diagonal (1)
- disasm (1)
- disassemble (1)
- disposition (1)
-
do
_ DELETE (1) -
do
_ GET (1) -
do
_ HEAD (1) -
do
_ OPTIONS (1) -
do
_ POST (1) -
do
_ PUT (1) - doctype (1)
- done (3)
- downcase (1)
- downcase! (1)
-
dsp
_ type (1) - dump (2)
- each (1)
-
each
_ active _ object (1) -
each
_ strongly _ connected _ component (4) -
each
_ strongly _ connected _ component _ from (4) - eigen (1)
- eigensystem (1)
-
eigenvalue
_ matrix (1) - eigenvalues (1)
-
eigenvector
_ matrix (1) -
eigenvector
_ matrix _ inv (1) - eigenvectors (1)
- email (1)
- encode (3)
- encode! (2)
-
encode
_ www _ form _ component (1) - entity (1)
- entitydecl (1)
- environment (1)
-
error
_ bytes (1) -
error
_ string (1) - executable (1)
- executables (1)
- extensions (2)
-
extra
_ accessor _ flags (1) -
extra
_ accessors (1) -
extra
_ chain _ cert (1) -
extra
_ chain _ cert= (1) -
extra
_ rdoc _ files (1) -
extra
_ rdoc _ files= (1) -
fast
_ unparse (1) - fetch (1)
-
file
_ name (1) - filename (1)
- files (2)
-
filter
_ backtrace (1) -
find
_ local _ symbol (1) - finish (1)
-
first
_ lineno (1) - form (2)
-
full
_ gem _ path (1) -
full
_ name (1) - generate (1)
-
generate
_ line (1) - get (1)
-
get
_ instance (1) -
get
_ one _ optional _ argument (1) -
get
_ option (1) -
get
_ path (1) -
get
_ value (1) - header (1)
- help (1)
- homepage (1)
- hton (1)
-
http
_ version (1) - httpdate (2)
- id (1)
-
image
_ format (1) -
in
_ transaction (1) - inactivate (1)
-
insert
_ output (1) - inspect (8)
-
install
_ update _ defaults _ str (1) -
installation
_ path (1) - instruction? (1)
-
irb
_ path (1) -
is
_ version _ 1 _ 2? (1) - iso8601 (1)
- jobs (1)
-
jobs
_ exist? (1) -
json
_ create (1) -
kill
_ job (1) - l (1)
-
laplace
_ expansion (1) -
last
_ description (1) -
last
_ response (1) -
last
_ response _ code (1) - lastresp (1)
- lex (1)
-
lib
_ files (1) -
loaded
_ from (1) -
long
_ name (1) - lup (1)
-
lup
_ decomposition (1) -
main
_ page (1) -
mark
_ version (1) - markup (1)
- merge (1)
- msg (1)
-
multipart
_ form (4) - name (5)
- new (11)
- next (1)
-
node
_ type (1) - normalize (1)
-
normalize
_ yaml _ input (1) - of (1)
- oid (1)
-
only
_ trusted (1) -
only
_ trusted= (1) -
op
_ dir (1) -
op
_ name (1) - open (7)
-
open
_ uri (1) -
option
_ string (1) - order (4)
- order! (4)
-
original
_ dir (1) -
original
_ name (1) -
original
_ platform (1) - param (1)
- parse (5)
- parse! (2)
-
parse
_ csv (1) - partition (1)
-
password
_ field (2) - path (3)
-
path
_ info (1) -
path
_ translated (1) - permutation? (1)
- permute (2)
- permute! (2)
- pivots (1)
- platform (1)
-
post
_ connection _ check (1) - pragma (1)
-
pretty
_ generate (1) -
pretty
_ unparse (1) -
process
_ controller (1) -
process
_ controllers _ exclusive (1) -
processing
_ instruction (1) -
program
_ name (1) -
prompt
_ c (1) -
prompt
_ i (1) -
prompt
_ n (1) -
prompt
_ s (1) -
psych
_ to _ yaml (1) - ptr (1)
- public (1)
- putback (2)
- quiet (1)
- quiet? (1)
-
radio
_ group (2) -
raised
_ exception (1) - rakefile (1)
-
raw
_ data (3) -
rb
_ compile _ cstr (1) -
rb
_ compile _ string (1) -
rb
_ cstr _ to _ dbl (1) -
rb
_ eval _ string _ protect (1) -
rb
_ eval _ string _ wrap (1) -
rb
_ str _ cat (1) -
rb
_ str _ cat2 (1) -
rb
_ str _ new (1) -
rb
_ str _ new2 (1) -
rb
_ time _ timespec _ new (1) -
rdoc
_ include (1) - read (1)
-
read
_ body (2) -
read
_ nonblock (4) - reason (1)
-
reason
_ phrase (2) -
recvfrom
_ nonblock (1) - recvmsg (1)
-
recvmsg
_ nonblock (1) - register (1)
- release (1)
- replacement (1)
- replacement= (1)
-
request
_ method (1) -
require
_ path (1) -
require
_ paths (1) -
required
_ attribute (1) -
required
_ attribute? (1) -
required
_ attributes (1) - responses (1)
- rewind (1)
- rmtree (1)
- rpartition (1)
-
ruby 1
. 6 feature (1) -
ruby
_ xrealloc (1) -
rubygems
_ version (1) -
script
_ name (1) -
scrolling
_ list (2) - section (1)
- sections (1)
- select (1)
-
server
_ protocol (1) - service (1)
-
session
_ id _ context (1) -
set
_ backtrace (2) -
set
_ dictionary (2) -
set
_ encoding (1) -
set
_ error (1) -
set
_ get _ line _ procs (2) - sfork (1)
- shell (1)
-
shell
/ process-controller (1) -
signing
_ key (1) - signm (1)
-
singleton
_ methods (1) - singular? (1)
- solve (1)
- source (1)
-
source
_ location (1) - space (1)
- space= (1)
-
space
_ before (1) -
space
_ before= (1) -
ssl
_ version (1) -
start
_ job (1) -
static
_ path (1) -
status
_ line (1) -
status
_ string (1) - stdout= (1)
- strftime (1)
-
strongly
_ connected _ components (2) - succ (1)
- summary (1)
-
summary
_ indent (1) - swapcase (1)
- swapcase! (1)
- sysconfdir (1)
- tag (1)
- tagging (1)
- tagging= (1)
- target (1)
- template (1)
-
template
_ dir (1) -
terminate
_ job (1) - terminated? (1)
-
test
_ file (1) -
test
_ files (1) -
test
_ suite _ file (1) - text (1)
- title (1)
- title= (1)
-
to
_ a (4) -
to
_ ary (2) -
to
_ csv (2) -
to
_ der (3) -
to
_ json (5) -
to
_ pem (1) -
to
_ ruby (1) -
to
_ s (13) -
to
_ text (1) -
to
_ yaml (2) - trace (2)
-
trace
_ object _ allocations (1) -
trace
_ object _ allocations _ start (1) -
trace
_ object _ allocations _ stop (1) - transaction (1)
- traverse (1)
- truncate (1)
- trust= (1)
-
trusted
_ cert _ path (1) -
try
_ constant (2) -
try
_ convert (1) -
try
_ link (2) - u (1)
- unparse (1)
- upcase (1)
- upcase! (1)
- v (1)
-
v
_ inv (1) - value (3)
- ver (1)
- version (4)
- version= (1)
-
version
_ 1 _ 2 (1) -
version
_ 1 _ 2? (1) -
wait
_ all _ jobs _ execution (1) -
wait
_ to _ finish _ all _ process _ controllers (1) -
waiting
_ job? (1) -
waiting
_ jobs (1) -
waiting
_ jobs _ exist? (1) -
warn
_ unless _ e _ option (1) -
warning
_ unless _ e _ option (1) - webcvs (1)
- wrap (2)
- write (2)
-
write
_ nonblock (1) - xmlschema (1)
- yaml (1)
- zone (1)
- 制御構造 (1)
検索結果
先頭5件
- TSort
. each _ strongly _ connected _ component(each _ node , each _ child) -> Enumerator - TSort
. each _ strongly _ connected _ component(each _ node , each _ child) {|nodes| . . . } -> nil - TSort
. strongly _ connected _ components(each _ node , each _ child) -> Array - TSort
# each _ strongly _ connected _ component -> Enumerator - TSort
# each _ strongly _ connected _ component {|nodes| . . . } -> nil
-
TSort
. each _ strongly _ connected _ component(each _ node , each _ child) -> Enumerator (91537.0) -
TSort.strongly_connected_components メソッドのイテレータ版です。
TSort.strongly_connected_components メソッドのイテレータ版です。
引数 each_node と each_child でグラフを表します。
@param each_node グラフ上の頂点をそれぞれ評価するcallメソッドを持つオブ
ジェクトを指定します。
@param each_child 引数で与えられた頂点の子をそれぞれ評価するcallメソッ
ドを持つオブジェクトを指定します。
//emlist[使用例][ruby]{
require 'tsort'
g = {1=>[2... -
TSort
. each _ strongly _ connected _ component(each _ node , each _ child) {|nodes| . . . } -> nil (91537.0) -
TSort.strongly_connected_components メソッドのイテレータ版です。
TSort.strongly_connected_components メソッドのイテレータ版です。
引数 each_node と each_child でグラフを表します。
@param each_node グラフ上の頂点をそれぞれ評価するcallメソッドを持つオブ
ジェクトを指定します。
@param each_child 引数で与えられた頂点の子をそれぞれ評価するcallメソッ
ドを持つオブジェクトを指定します。
//emlist[使用例][ruby]{
require 'tsort'
g = {1=>[2... -
TSort
. strongly _ connected _ components(each _ node , each _ child) -> Array (91537.0) -
強連結成分の集まりを配列の配列として返します。 この配列は子から親に向かってソートされています。 各要素は強連結成分を表す配列です。
強連結成分の集まりを配列の配列として返します。
この配列は子から親に向かってソートされています。
各要素は強連結成分を表す配列です。
引数 each_node と each_child でグラフを表します。
@param each_node グラフ上の頂点をそれぞれ評価するcallメソッドを持つオブ
ジェクトを指定します。
@param each_child 引数で与えられた頂点の子をそれぞれ評価するcallメソッ
ドを持つオブジェクトを指定します。
//emlist[使用例][ruby]{
require 'ts... -
TSort
# each _ strongly _ connected _ component -> Enumerator (91519.0) -
TSort#strongly_connected_components メソッドのイテレータ版です。 obj.each_strongly_connected_component は obj.strongly_connected_components.each に似ていますが、 ブロックの評価中に obj が変更された場合は予期しない結果になる ことがあります。
TSort#strongly_connected_components メソッドのイテレータ版です。
obj.each_strongly_connected_component は
obj.strongly_connected_components.each に似ていますが、
ブロックの評価中に obj が変更された場合は予期しない結果になる
ことがあります。
each_strongly_connected_component は nil を返します。
//emlist[使用例][ruby]{
require 'tsort'
class Hash
include TSort
a... -
TSort
# each _ strongly _ connected _ component {|nodes| . . . } -> nil (91519.0) -
TSort#strongly_connected_components メソッドのイテレータ版です。 obj.each_strongly_connected_component は obj.strongly_connected_components.each に似ていますが、 ブロックの評価中に obj が変更された場合は予期しない結果になる ことがあります。
TSort#strongly_connected_components メソッドのイテレータ版です。
obj.each_strongly_connected_component は
obj.strongly_connected_components.each に似ていますが、
ブロックの評価中に obj が変更された場合は予期しない結果になる
ことがあります。
each_strongly_connected_component は nil を返します。
//emlist[使用例][ruby]{
require 'tsort'
class Hash
include TSort
a... -
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) -> Enumerator (91519.0) -
node から到達可能な強連結成分についてのイテレータです。
node から到達可能な強連結成分についてのイテレータです。
返す値は規定されていません。
each_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//emlist[例 到達可能なノードを表示する][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node... -
TSort
# each _ strongly _ connected _ component _ from(node , id _ map={} , stack=[]) {|nodes| . . . } -> () (91519.0) -
node から到達可能な強連結成分についてのイテレータです。
node から到達可能な強連結成分についてのイテレータです。
返す値は規定されていません。
each_strongly_connected_component_from は
tsort_each_node を呼びません。
@param node ノードを指定します。
//emlist[例 到達可能なノードを表示する][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node... -
TSort
# strongly _ connected _ components -> Array (91519.0) -
強連結成分の集まりを配列の配列として返します。 この配列は子から親に向かってソートされています。 各要素は強連結成分を表す配列です。
強連結成分の集まりを配列の配列として返します。
この配列は子から親に向かってソートされています。
各要素は強連結成分を表す配列です。
//emlist[使用例][ruby]{
require 'tsort'
class Hash
include TSort
alias tsort_each_node each_key
def tsort_each_child(node, &block)
fetch(node).each(&block)
end
end
non_sort = {1=>[2], 2=>[3, 4], 3=>[2], 4=>[]}
p non_sor... -
TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) -> Enumerator (91519.0) -
node から到達可能な強連結成分についてのイテレータです。
node から到達可能な強連結成分についてのイテレータです。
引数 node と each_child でグラフを表します。
返す値は規定されていません。
TSort.each_strongly_connected_component_fromはTSortをincludeして
グラフを表現する必要のないクラスメソッドです。
@param node ノードを指定します。
@param each_child 引数で与えられた頂点の子をそれぞれ評価するcallメソッ
ドを持つオブジェクトを指定します。
//emlist[使用例][ruby]{
req... -
TSort
. each _ strongly _ connected _ component _ from(node , each _ child , id _ map={} , stack=[]) {|nodes| . . . } -> () (91519.0) -
node から到達可能な強連結成分についてのイテレータです。
node から到達可能な強連結成分についてのイテレータです。
引数 node と each_child でグラフを表します。
返す値は規定されていません。
TSort.each_strongly_connected_component_fromはTSortをincludeして
グラフを表現する必要のないクラスメソッドです。
@param node ノードを指定します。
@param each_child 引数で与えられた頂点の子をそれぞれ評価するcallメソッ
ドを持つオブジェクトを指定します。
//emlist[使用例][ruby]{
req... -
Shell
:: ProcessController . active _ process _ controllers -> () (81901.0) -
@todo
@todo -
Shell
:: ProcessController . process _ controllers _ exclusive -> () (81901.0) -
@todo
@todo -
Shell
:: ProcessController . wait _ to _ finish _ all _ process _ controllers -> () (81901.0) -
@todo
@todo -
OptionParser
# on(long , klass = String , desc = "") {|v| . . . } -> self (73039.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
オプションを取り扱うためのブロックを自身に登録します。
ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
klass にはクラスを与えます。どのようなクラスを受け付けるかは、
以下の「デフォルトで利用可能な引数クラス」を参照して下さい。
OptionParser.accept や OptionParser#accept によって、受け付け
るクラスを増やすことができます。登録されていないクラスが指定された
場合、例外 ArgumentError を投げます。
また、登録されたクラスであっても引数が変換できないものである場合、例外
OptionParser::I... -
OptionParser
# on(short , long , klass = String , desc = "") {|v| . . . } -> self (73039.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
オプションを取り扱うためのブロックを自身に登録します。
ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
klass にはクラスを与えます。どのようなクラスを受け付けるかは、
以下の「デフォルトで利用可能な引数クラス」を参照して下さい。
OptionParser.accept や OptionParser#accept によって、受け付け
るクラスを増やすことができます。登録されていないクラスが指定された
場合、例外 ArgumentError を投げます。
また、登録されたクラスであっても引数が変換できないものである場合、例外
OptionParser::I... -
OptionParser
# on(short , klass = String , desc = "") {|v| . . . } -> self (72739.0) -
オプションを取り扱うためのブロックを自身に登録します。 ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
オプションを取り扱うためのブロックを自身に登録します。
ブロックはコマンドラインのパース時に、オプションが指定されていれば呼ばれます。
klass にはクラスを与えます。どのようなクラスを受け付けるかは、
以下の「デフォルトで利用可能な引数クラス」を参照して下さい。
OptionParser.accept や OptionParser#accept によって、受け付け
るクラスを増やすことができます。登録されていないクラスが指定された
場合、例外 ArgumentError を投げます。
また、登録されたクラスであっても引数が変換できないものである場合、例外
OptionParser::I... -
Matrix
:: LUPDecomposition # p -> Matrix (72604.0) -
LUP分解の置換行列部分を返します。
LUP分解の置換行列部分を返します。 -
Exception2MessageMapper
:: ErrNotRegisteredException (72001.0) -
登録されていない例外が Exception2MessageMapper#Raise で使用された場合に発生します。
登録されていない例外が Exception2MessageMapper#Raise で使用された場合に発生します。 -
Matrix
# tr -> Integer | Float | Rational | Complex (63904.0) -
トレース (trace) を返します。
トレース (trace) を返します。
行列のトレース (trace) とは、対角要素の和です。
//emlist[例][ruby]{
require 'matrix'
Matrix[[7,6], [3,9]].trace # => 16
//}
trace は正方行列でのみ定義されます。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します -
Socket
:: Constants :: SO _ SECURITY _ ENCRYPTION _ TRANSPORT -> Integer (63901.0) -
@todo
@todo -
Win32
:: Registry :: Constants :: REG _ OPTION _ NON _ VOLATILE (63901.0) -
@todo
@todo -
Shell
# process _ controller -> Shell :: ProcessController (55801.0) -
@todo
@todo -
Exception
# backtrace _ locations -> [Thread :: Backtrace :: Location] (55219.0) -
バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。
バックトレース情報を返します。Exception#backtraceに似ていますが、
Thread::Backtrace::Location の配列を返す点が異なります。
現状では Exception#set_backtrace によって戻り値が変化する事はあり
ません。
//emlist[例: test.rb][ruby]{
require "date"
def check_long_month(month)
return if Date.new(2000, month, -1).day == 31
raise "#{month} is not long month"
end
... -
Gem
:: Command # get _ one _ optional _ argument -> String (55201.0) -
コマンドラインからオプショナルな引数を取得して返します。
コマンドラインからオプショナルな引数を取得して返します。
@return 一つ以上、指定した場合は最初の値を返します。一つも指定していない場合は nil を返します。 -
OpenSSL
:: SSL :: SSLSocket # post _ connection _ check(hostname) -> true (55201.0) -
接続後検証を行います。
接続後検証を行います。
検証に成功した場合は true を返し、失敗した場合は例外
OpenSSL::SSL::SSLError を発生させます。
OpenSSL の API では、
OpenSSL::SSL::SSLSocket#connect や OpenSSL::SSL::SSLSocket#accept
での検証は実用的には不完全です。
CA が証明書に署名してそれが失効していないことしか確認しません。
実用上は証明書に記載されている事項を見て、接続先が妥当であるかを確認する
必要があります。通常は接続先ホストの FQDN と証明書に記載されている FQDN が
一致しているか... -
Rake
:: RDocTask # option _ string -> String (55201.0) -
rdoc コマンドに渡すオプションを文字列として返します。
rdoc コマンドに渡すオプションを文字列として返します。 -
Gem
:: InstallUpdateOptions # install _ update _ defaults _ str -> String (54901.0) -
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
Gem コマンドの install サブコマンドに渡されるデフォルトのオプションを返します。
デフォルトのオプションは以下の通りです。
--rdoc --no-force --no-test --wrappers -
ObjectSpace
. # trace _ object _ allocations _ stop -> nil (54901.0) -
オブジェクト割り当てのトレースを終了します。
オブジェクト割り当てのトレースを終了します。
トレースを終了する為には、ObjectSpace.#trace_object_allocations_startを呼んだ回数分だけこのメソッドを呼ぶ必要があります。
@see ObjectSpace.#trace_object_allocations_start -
OpenSSL
:: OCSP :: RESPONSE _ STATUS _ TRYLATER -> Integer (54901.0) -
OpenSSL::OCSP::Response#status のステータスコードで 、 レスポンダが一時的に応答できないことを意味します。
OpenSSL::OCSP::Response#status のステータスコードで 、
レスポンダが一時的に応答できないことを意味します。
詳しくは 2560 2.3 を見てください。 -
OpenSSL
:: SSL :: SSLContext # session _ id _ context -> String | nil (54901.0) -
セッション ID コンテキスト文字列を返します。
セッション ID コンテキスト文字列を返します。
設定されていない場合は nil を返します。
@see OpenSSL::SSL::Session,
OpenSSL::SSL::SSLContext#session_id_context= -
REXML
:: SAX2Listener # processing _ instruction(target , data) -> () (54901.0) -
XML 処理命令(PI)に対し呼び出されるコールバックメソッドです。
XML 処理命令(PI)に対し呼び出されるコールバックメソッドです。
@param target ターゲット名が文字列で渡されます
@param data 処理命令の内容が文字列で渡されます -
RubyVM
:: InstructionSequence . compile _ option=(options) (54901.0) -
命令シーケンスのコンパイル時のデフォルトの最適化オプションを引数 options で指定します。
命令シーケンスのコンパイル時のデフォルトの最適化オプションを引数
options で指定します。
@param options コンパイル時の最適化オプションを true、false、nil、
Hash のいずれかで指定します。true を指定した場合は
全てのオプションを有効にします。false を指定した場合は全
てのオプションを無効にします。nil を指定した場合はいずれ
のオプションも変更しません。また、Hash を指定した
場合は以... -
Socket
:: SO _ SECURITY _ ENCRYPTION _ TRANSPORT -> Integer (54901.0) -
@todo
@todo -
RubyVM
:: InstructionSequence . compile _ option -> Hash (54601.0) -
命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返 します。
命令シーケンスのコンパイル時のデフォルトの最適化オプションを Hash で返
します。
//emlist[例][ruby]{
require "pp"
pp RubyVM::InstructionSequence.compile_option
# => {:inline_const_cache=>true,
# :peephole_optimization=>true,
# :tailcall_optimization=>false,
# :specialized_instruction=>true,
# :operands_unification=>true,
# :instructi... -
Shell
:: ProcessController . block _ output _ synchronize { . . . } -> () (54601.0) -
@todo
@todo -
Win32
:: Registry :: Constants :: REG _ LEGAL _ OPTION (54601.0) -
@todo
@todo -
Win32
:: Registry :: Constants :: REG _ OPTION _ BACKUP _ RESTORE (54601.0) -
@todo
@todo -
Win32
:: Registry :: Constants :: REG _ OPTION _ CREATE _ LINK (54601.0) -
@todo
@todo -
Win32
:: Registry :: Constants :: REG _ OPTION _ OPEN _ LINK (54601.0) -
@todo
@todo -
Win32
:: Registry :: Constants :: REG _ OPTION _ RESERVED (54601.0) -
@todo
@todo -
Win32
:: Registry :: Constants :: REG _ OPTION _ VOLATILE (54601.0) -
@todo
@todo -
ExceptionForMatrix
:: ErrOperationNotDefined (54001.0) -
演算時にクラスが適切でない場合に発生する例外です。
演算時にクラスが適切でない場合に発生する例外です。 -
Shell
:: ProcessController (54001.0) -
-
shell
/ process-controller (54001.0) -
プロセスを制御するためのクラスを定義したライブラリです。
プロセスを制御するためのクラスを定義したライブラリです。 -
String
# partition(sep) -> [String , String , String] (46555.0) -
セパレータ sep が最初に登場する部分で self を 3 つに分割し、 [最初のセパレータより前の部分, セパレータ, それ以降の部分] の 3 要素の配列を返します。
セパレータ sep が最初に登場する部分で self を 3 つに分割し、
[最初のセパレータより前の部分, セパレータ, それ以降の部分]
の 3 要素の配列を返します。
self がセパレータを含まないときは、
返り値の第 2 要素と第 3 要素が空文字列になります。
@param sep セパレータを表す文字列か正規表現を指定します。
//emlist[例][ruby]{
p "axaxa".partition("x") # => ["a", "x", "axa"]
p "aaaaa".partition("x") # => ["aaaaa", "", ""]
p ... -
String
# rpartition(sep) -> [String , String , String] (46537.0) -
セパレータ sep が最後に登場する部分で self を 3 つに分割し、 [最後のセパレータより前の部分, セパレータ, それ以降の部分] の 3 要素の配列を返します。
セパレータ sep が最後に登場する部分で self を 3 つに分割し、
[最後のセパレータより前の部分, セパレータ, それ以降の部分]
の 3 要素の配列を返します。
self がセパレータを含まないときは、
返り値の第 1 要素と第 2 要素が空文字列になります。
@param sep セパレータを表す文字列か正規表現を指定します。
//emlist[例][ruby]{
p "axaxa".rpartition("x") # => ["axa", "x", "a"]
p "aaaaa".rpartition("x") # => ["", "", "aaaaa"]
... -
PStore
# transaction(read _ only = false) {|pstore| . . . } -> object (46219.0) -
トランザクションに入ります。 このブロックの中でのみデータベースの読み書きができます。
トランザクションに入ります。
このブロックの中でのみデータベースの読み書きができます。
読み込み専用のトランザクションが使用可能です。
@param read_only 真を指定すると、読み込み専用のトランザクションになります。
@return ブロックで最後に評価した値を返します。
@raise PStore::Error read_only を真にしたときに、データベースを変更しようした場合に発生します。
例:
require 'pstore'
db = PStore.new("/tmp/foo")
db.transaction do
p db.roots... -
TracePoint
# raised _ exception -> Exception (46201.0) -
発生した例外を返します。
発生した例外を返します。
@raise RuntimeError :raise イベントのためのイベントフックの外側で実行し
た場合に発生します。
//emlist[例][ruby]{
trace = TracePoint.new(:raise) do |tp|
tp.raised_exception # => #<ZeroDivisionError: divided by 0>
end
trace.enable
begin
0/0
rescue
end
//} -
OpenURI
:: Meta # content _ type -> String (45919.0) -
対象となるリソースの Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。 Content-Type ヘッダがない場合は、"application/octet-stream" を返します。
対象となるリソースの Content-Type を文字列で返します。Content-Type ヘッダの情報が使われます。
Content-Type ヘッダがない場合は、"application/octet-stream" を返します。
//emlist[例][ruby]{
require 'open-uri'
open('http://www.ruby-lang.org/') {|f|
p f.content_type #=> "text/html"
}
//} -
CGI
:: HtmlExtension # caption(align = nil) -> String (45901.0) -
caption 要素を生成します。
caption 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param align 配置を文字列で指定します。(top, bottom, left right が指定可能です)
属性をハッシュで指定することもできます。
例:
caption("left") { "Capital Cities" }
# => <CAPTION ALIGN=\"left\">Capital Cities</CAPTION> -
CGI
:: HtmlExtension # caption(align = nil) { . . . } -> String (45901.0) -
caption 要素を生成します。
caption 要素を生成します。
ブロックを与えると、ブロックを評価した結果が内容になります。
@param align 配置を文字列で指定します。(top, bottom, left right が指定可能です)
属性をハッシュで指定することもできます。
例:
caption("left") { "Capital Cities" }
# => <CAPTION ALIGN=\"left\">Capital Cities</CAPTION> -
CGI
:: QueryExtension # content _ type -> String (45901.0) -
ENV['CONTENT_TYPE'] を返します。
ENV['CONTENT_TYPE'] を返します。 -
CGI
:: QueryExtension # path _ translated -> String (45901.0) -
ENV['PATH_TRANSLATED'] を返します。
ENV['PATH_TRANSLATED'] を返します。 -
Fiddle
:: Function # ptr -> Integer | Fiddle :: Function (45901.0) -
関数ポインタを返します。
関数ポインタを返します。
Fiddle::Function.new の第1引数として指定したものを返します。 -
Gem
:: Specification # description -> String (45901.0) -
Gem パッケージの説明を返します。
Gem パッケージの説明を返します。 -
Gem
:: Specification # installation _ path -> String (45901.0) -
この Gem パッケージのインストール先のパスを返します。
この Gem パッケージのインストール先のパスを返します。 -
Gem
:: Specification # rdoc _ options -> [String] (45901.0) -
API ドキュメントを生成するときに rdoc コマンドに与えるオプションを返します。
API ドキュメントを生成するときに rdoc コマンドに与えるオプションを返します。 -
Matrix
# cofactor _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float (45901.0) -
row 行、もしくは column 列に関するラプラス展開をする。
row 行、もしくは column 列に関するラプラス展開をする。
通常の行列に対してはこれは単に固有値を計算するだけです。かわりにMatrix#determinant を
利用すべきです。
変則的な形状の行列に対してはそれ以上の意味を持ちます。例えば
row行/column列が行列やベクトルである場合には
//emlist[例][ruby]{
require 'matrix'
# Matrix[[7,6], [3,9]].laplace_expansion(column: 1) # => 45
Matrix[[Vector[1, 0], Vector[0, 1]], [2, 3]].... -
Matrix
# laplace _ expansion(row: nil , column: nil) -> object | Integer | Rational | Float (45901.0) -
row 行、もしくは column 列に関するラプラス展開をする。
row 行、もしくは column 列に関するラプラス展開をする。
通常の行列に対してはこれは単に固有値を計算するだけです。かわりにMatrix#determinant を
利用すべきです。
変則的な形状の行列に対してはそれ以上の意味を持ちます。例えば
row行/column列が行列やベクトルである場合には
//emlist[例][ruby]{
require 'matrix'
# Matrix[[7,6], [3,9]].laplace_expansion(column: 1) # => 45
Matrix[[Vector[1, 0], Vector[0, 1]], [2, 3]].... -
Net
:: HTTPResponse # http _ version -> String (45901.0) -
サーバがサポートしている HTTP のバージョンを文字列で返します。
サーバがサポートしている HTTP のバージョンを文字列で返します。
//emlist[例][ruby]{
require 'net/http'
uri = "http://www.example.com/index.html"
response = Net::HTTP.get_response(URI.parse(uri))
response.http_version # => "1.1"
//} -
OpenSSL
:: OPENSSL _ LIBRARY _ VERSION -> String (45901.0) -
実行時に使われている OpenSSL 本体のバージョンを表した文字列です。
実行時に使われている OpenSSL 本体のバージョンを表した文字列です。 -
OpenSSL
:: OPENSSL _ VERSION -> String (45901.0) -
ビルド時に使われた OpenSSL 本体のバージョンを表した文字列です。
ビルド時に使われた OpenSSL 本体のバージョンを表した文字列です。 -
Rake
:: Application # options -> OpenStruct (45901.0) -
コマンドラインで与えられたアプリケーションのオプションを返します。
コマンドラインで与えられたアプリケーションのオプションを返します。
//emlist[][ruby]{
# Rakefile での記載例とする
task default: :test_rake_app
task :test_rake_app do
Rake.application.options # => #<OpenStruct always_multitask=false, backtrace=false, build_all=false, dryrun=false, ignore_deprecate=false, ignore_system=false, job_stats=... -
Regexp
. try _ convert(obj) -> Regexp | nil (45901.0) -
obj を to_regexp メソッドで Regexp オブジェクトに変換しようと 試みます。
obj を to_regexp メソッドで Regexp オブジェクトに変換しようと
試みます。
変換に成功した場合はそれを返し、失敗時には nil を返します。
//emlist[例][ruby]{
Regexp.try_convert(/re/) # => /re/
Regexp.try_convert("re") # => nil
//} -
WEBrick
:: HTTPResponse # content _ type -> String | nil (45901.0) -
Content-Type ヘッダの値を返します。
Content-Type ヘッダの値を返します。 -
WEBrick
:: HTTPResponse # reason _ phrase -> String | nil (45901.0) -
HTTP のレスポンスの最初の行の reason phrase を返します。 この値が nil の場合 reason phrase は status から生成されます。 デフォルトは nil です。
HTTP のレスポンスの最初の行の reason phrase を返します。
この値が nil の場合 reason phrase は status から生成されます。
デフォルトは nil です。 -
Win32
:: Registry . expand _ environ(str) (45901.0) -
@todo
@todo
str の %\w+% という並びを環境変数に置換します。
REG_EXPAND_SZ で用いられます。
詳細は以下の Win32 API を参照してください。
* ExpandEnvironmentStrings: http://msdn.microsoft.com/library/en-us/sysinfo/base/expandenvironmentstrings.asp -
ObjectSpace
. # trace _ object _ allocations { . . . } (45619.0) -
与えられたブロック内でオブジェクトのトレースを行います。
与えられたブロック内でオブジェクトのトレースを行います。
//emlist[例][ruby]{
require 'objspace'
class C
include ObjectSpace
def foo
trace_object_allocations do
obj = Object.new
p "#{allocation_sourcefile(obj)}:#{allocation_sourceline(obj)}"
end
end
end
C.new.foo #=> "objtrace.rb:8"
//} -
Gem
:: Security :: Policy # only _ trusted -> bool (45601.0) -
この値が真である場合は、検証済みの Gem のみインストールします。
この値が真である場合は、検証済みの Gem のみインストールします。 -
Gem
:: Security :: Policy # only _ trusted=(flag) (45601.0) -
検証済みの Gem のみインストールするかどうかを設定します。
検証済みの Gem のみインストールするかどうかを設定します。
@param flag 真、または偽を指定します。 -
Matrix
# permutation? -> bool (45601.0) -
行列が置換行列ならば true を返します。
行列が置換行列ならば true を返します。
@raise ExceptionForMatrix::ErrDimensionMismatch 行列が正方行列でない場合に発生します -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix -> Matrix (45601.0) -
右固有ベクトルを横に並べた行列を返します。
右固有ベクトルを横に並べた行列を返します。 -
Matrix
:: EigenvalueDecomposition # eigenvector _ matrix _ inv -> Matrix (45601.0) -
左固有ベクトルを縦に並べた行列を返します。
左固有ベクトルを縦に並べた行列を返します。
これは Matrix::EigenvalueDecomposition#v の逆行列です -
ObjectSpace
. # trace _ object _ allocations _ start -> nil (45601.0) -
オブジェクト割り当てのトレースを開始します。
オブジェクト割り当てのトレースを開始します。
@see ObjectSpace.#trace_object_allocations_stop -
PStore
# in _ transaction -> () (45601.0) -
トランザクションの中でなければ例外を発生させます。
トランザクションの中でなければ例外を発生させます。 -
REXML
:: Parsers :: PullEvent # instruction? -> bool (45601.0) -
XML処理命令なら真を返します。
XML処理命令なら真を返します。 -
Shell
:: ProcessController :: USING _ AT _ EXIT _ WHEN _ PROCESS _ EXIT -> true (45601.0) -
@todo
@todo -
Socket
:: Constants :: IP _ PORTRANGE -> Integer (45601.0) -
Set the port range for sockets with unspecified port numbers。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。
Set the port range for sockets with unspecified port numbers。
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。
@see Socket::Constants::IPPROTO_IP, ip(4freebsd) -
Win32
:: Registry # disposition (45601.0) -
@todo
@todo
キーの disposition 値を返します。
(REG_CREATED_NEW_KEY または REG_OPENED_EXISTING_KEY) -
RSS
:: TrackBackModel20 :: TrackBackPing # content (45301.0) -
@todo
@todo -
RSS
:: TrackBackModel20 :: TrackBackPing # content= (45301.0) -
@todo
@todo -
Shell
:: ProcessController # wait _ all _ jobs _ execution -> () (45301.0) -
全てのジョブの実行が終わるまで待ちます。
全てのジョブの実行が終わるまで待ちます。 -
ExceptionForMatrix
:: ErrDimensionMismatch (45001.0) -
行列/ベクトル計算時に次元が合わない場合に発生する例外です。
行列/ベクトル計算時に次元が合わない場合に発生する例外です。 -
ExceptionForMatrix
:: ErrNotRegular (45001.0) -
逆行列計算時に行列が正則でない場合に発生する例外です。
逆行列計算時に行列が正則でない場合に発生する例外です。 -
Matrix
:: EigenvalueDecomposition (45001.0) -
行列の固有分解の情報を保持するクラスです。
行列の固有分解の情報を保持するクラスです。
Matrix#eigensystem の返り値のクラスです。 -
Matrix
:: LUPDecomposition (45001.0) -
行列のLUP分解の情報を保持するクラスです。
行列のLUP分解の情報を保持するクラスです。
Matrix#lup_decomposition の返り値のクラスです。 -
OpenSSL
:: ASN1 :: Constructive (45001.0) -
ASN.1 の構造型を表すクラスです。
ASN.1 の構造型を表すクラスです。
通常はこのクラス自身は用いず、各サブクラスを利用します。 -
Prime
:: TrialDivisionGenerator (45001.0) -
Prime::PseudoPrimeGenerator の具象クラスです。 素数の生成に試行除算法を使用しています。
Prime::PseudoPrimeGenerator の具象クラスです。
素数の生成に試行除算法を使用しています。 -
Rake
:: TestTask # options=(option _ str) (37501.0) -
テストスイートに渡すパラメータをセットします。
テストスイートに渡すパラメータをセットします。
@param option_str テストスイートに渡すパラメータを指定します。 -
Matrix
# lup _ decomposition -> Matrix :: LUPDecomposition (37291.0) -
行列の LUP 分解を保持したオブジェクトを返します。
行列の LUP 分解を保持したオブジェクトを返します。
Matrix::LUPDecomposition は to_ary を定義しているため、
多重代入によって3つの行列(下三角行列、上三角行列、置換行列)
を得ることができます。これを [L, U, P] と書くと、
L*U = P*self を満たします。
//emlist[例][ruby]{
require 'matrix'
a = Matrix[[1, 2], [3, 4]]
l, u, p = a.lup
l.lower_triangular? # => true
u.upper_triangular? # => true
p.... -
URI
. decode _ www _ form _ component(str , enc=Encoding :: UTF _ 8) -> String (37237.0) -
URL-encoded form data の文字列の各コンポーネント をデコードした文字列を返します。
URL-encoded form data の文字列の各コンポーネント
をデコードした文字列を返します。
通常は URI.decode_www_form を使うほうがよいでしょう。
"+" という文字は空白文字にデコードします。
enc で指定したエンコーディングの文字列が URL エンコードされたものと
みなし、エンコーディングを付加します。
このメソッドは
https://www.w3.org/TR/html5/sec-forms.html#urlencoded-form-data
にもとづいて実装されています。
//emlist[][ruby]{
require 'uri'
... -
URI
. encode _ www _ form _ component(str , enc=nil) -> String (37237.0) -
文字列を URL-encoded form data の1コンポーネント としてエンコードした文字列を返します。
文字列を URL-encoded form data の1コンポーネント
としてエンコードした文字列を返します。
通常は URI.encode_www_form を使うほうがよいでしょう。
このメソッドでは *, -, ., 0-9, A-Z, _, a-z, は変換せず、
空白は + に変換し、その他は %XX に、変換します。
このメソッドは
https://www.w3.org/TR/2013/CR-html5-20130806/forms.html#url-encoded-form-data
にもとづいて実装されています。
//emlist[][ruby]{
require '... -
Gem
:: Security :: Policy . trusted _ cert _ path(cert , options) -> String (37201.0) -
与えられた証明書へのパスを返します。
与えられた証明書へのパスを返します。
@param cert 証明書オブジェクトを指定します。
@param options その他のオプションを指定します。 -
GetoptLong
# get _ option -> [String , String] (37201.0) -
ARGV から、次のオプションの名前と、もしあればその引数の組を取 得します。メソッドは 2 つの値を返し、1 つ目の値がオプション名 (例: --max-size) で、2 つ目がオプションの引数 (例: 20K) です。
ARGV から、次のオプションの名前と、もしあればその引数の組を取
得します。メソッドは 2 つの値を返し、1 つ目の値がオプション名
(例: --max-size) で、2 つ目がオプションの引数 (例: 20K) です。
get と get_option は常にオプション名を正式名
で返します。与えられたオプションが引数を取らないときは、
空の文字列 ('') が optarg にセットされます。オプションが
ARGV に残っていないときは、optname, optarg ともに nil に
セットされます。メソッドから戻る際に、取得したオプションと引数
は自動的に ARGV から取り除... -
Kernel
# try _ constant(const , headers = nil , opt = "") -> Integer | nil (37201.0) -
定数 const がシステムに存在するかどうか検査します。 Kernel#have_const を使ってください。
定数 const がシステムに存在するかどうか検査します。
Kernel#have_const を使ってください。
@param const C 言語の定数名を指定します。
@param headers 追加のヘッダファイルを指定します。
@param opt コンパイラに渡すオプションを指定します。
$CFLAGS もコンパイラには渡されます。
@return 定数 const がシステムに存在する場合はその値を返します。
定数 const がシステムに存在しない場合は nil を返します。 -
Kernel
# try _ constant(const , headers = nil , opt = "") { . . . } -> Integer | nil (37201.0) -
定数 const がシステムに存在するかどうか検査します。 Kernel#have_const を使ってください。
定数 const がシステムに存在するかどうか検査します。
Kernel#have_const を使ってください。
@param const C 言語の定数名を指定します。
@param headers 追加のヘッダファイルを指定します。
@param opt コンパイラに渡すオプションを指定します。
$CFLAGS もコンパイラには渡されます。
@return 定数 const がシステムに存在する場合はその値を返します。
定数 const がシステムに存在しない場合は nil を返します。 -
NODE * rb
_ compile _ cstr(const char *f , const char *s , int len , int line) (37201.0) -
C の文字列 s を構文木にコンパイルし、ruby_eval_tree と ruby_eval_tree_begin に格納します。ruby_eval_tree を返します。 またコンパイルするときにファイル f の line 行目からをコンパイル していると仮定します。
C の文字列 s を構文木にコンパイルし、ruby_eval_tree と
ruby_eval_tree_begin に格納します。ruby_eval_tree を返します。
またコンパイルするときにファイル f の line 行目からをコンパイル
していると仮定します。 -
OpenSSL
:: X509 :: ExtensionFactory # create _ ext _ from _ string(str) -> OpenSSL :: X509 :: Extension (37201.0) -
文字列から OpenSSL::X509::Extension オブジェクトを生成します。
文字列から OpenSSL::X509::Extension オブジェクトを生成します。
文字列は "oid = value" もしくは "oid = critical, value" という
形式である必要があります。
@param str 生成する拡張領域のデータの文字列
@see OpenSSL::X509::ExtensionFactory#create_ext -
OpenURI
:: OpenRead # open(mode = & # 39;r& # 39; , perm = nil , options = {}) -> StringIO (37201.0) -
自身が表すリソースを取得して StringIO オブジェクトとして返します。 OpenURI.open_uri(self, *rest, &block) と同じです。
自身が表すリソースを取得して StringIO オブジェクトとして返します。
OpenURI.open_uri(self, *rest, &block) と同じです。
ブロックを与えた場合は StringIO オブジェクトを引数としてブロックを
評価します。ブロックの終了時に StringIO は close されます。nil を返します。
返り値である StringIO オブジェクトは OpenURI::Meta モジュールで extend されています。
@param mode モードを文字列で与えます。Kernel.#open と同じです。
@param perm 無視されます... -
RubyVM
:: InstructionSequence . compile(source , file = nil , path = nil , line = 1 , options = nil) -> RubyVM :: InstructionSequence (37201.0) -
引数 source で指定した Ruby のソースコードを元にコンパイル済みの RubyVM::InstructionSequence オブジェクトを作成して返します。
引数 source で指定した Ruby のソースコードを元にコンパイル済みの
RubyVM::InstructionSequence オブジェクトを作成して返します。
@param source Ruby のソースコードを文字列で指定します。
@param file ファイル名を文字列で指定します。
@param path 引数 file の絶対パスファイル名を文字列で指定します。
@param line 引数 source の 1 行目の行番号を指定します。
@param options コンパイル時のオプションを true、false、Hash オブ
...