One Hat Cyber Team
Your IP :
216.73.216.115
Server IP :
194.44.31.54
Server :
Linux zen.imath.kiev.ua 4.18.0-553.77.1.el8_10.x86_64 #1 SMP Fri Oct 3 14:30:23 UTC 2025 x86_64
Server Software :
Apache/2.4.37 (Rocky Linux) OpenSSL/1.1.1k
PHP Version :
5.6.40
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
usr
/
share
/
doc
/
Macaulay2
/
Oscillators
/
html
/
Edit File:
_osc__Ring.html
<!DOCTYPE html> <html lang="en"> <head> <title>oscRing -- create a polynomial ring for a given graph or number of oscillators</title> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> <link type="text/css" rel="stylesheet" href="../../../../Macaulay2/Style/doc.css"> <link rel="stylesheet" href="../../../../Macaulay2/Style/katex/katex.min.css"> <script defer="defer" src="../../../../Macaulay2/Style/katex/katex.min.js"></script> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/auto-render.min.js"></script> <script> var macros = { "\\break": "\\\\", "\\ZZ": "\\mathbb{Z}", "\\NN": "\\mathbb{N}", "\\QQ": "\\mathbb{Q}", "\\RR": "\\mathbb{R}", "\\CC": "\\mathbb{C}", "\\PP": "\\mathbb{P}" }, delimiters = [ { left: "$$", right: "$$", display: true}, { left: "\\[", right: "\\]", display: true}, { left: "$", right: "$", display: false}, { left: "\\(", right: "\\)", display: false} ], ignoredTags = [ "kbd", "var", "samp", "script", "noscript", "style", "textarea", "pre", "code", "option" ]; document.addEventListener("DOMContentLoaded", function() { renderMathInElement(document.body, { delimiters: delimiters, macros: macros, ignoredTags: ignoredTags, trust: true }); }); </script> <style>.katex { font-size: 1em; }</style> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/copy-tex.min.js"></script> <script defer="defer" src="../../../../Macaulay2/Style/katex/contrib/render-a11y-string.min.js"></script> <script src="../../../../Macaulay2/Style/prism.js"></script> <script>var current_version = '1.25.06';</script> <script src="../../../../Macaulay2/Style/version-select.js"></script> <link type="image/x-icon" rel="icon" href="../../../../Macaulay2/Style/icon.gif"> </head> <body> <div id="buttons"> <div> <a href="https://macaulay2.com/">Macaulay2</a> <span id="version-select-container"></span> » <a title="Macaulay2 documentation" href="../../Macaulay2Doc/html/index.html">Documentation </a> <br><a href="../../Macaulay2Doc/html/_packages_spprovided_spwith_sp__Macaulay2.html">Packages</a> » <span><a title="generation and analysis of oscillator steady states for small graphs" href="index.html">Oscillators</a> :: <a title="create a polynomial ring for a given graph or number of oscillators" href="_osc__Ring.html">oscRing</a></span> </div> <div class="right"> <form method="get" action="https://www.google.com/search"> <input placeholder="Search" type="text" name="q" value=""> <input type="hidden" name="q" value="site:macaulay2.com/doc"> </form> <a href="_osc__System.html">next</a> | <a href="_osc__Quadrics.html">previous</a> | <a href="_osc__System.html">forward</a> | <a href="_osc__Quadrics.html">backward</a> | up | <a href="master.html">index</a> | <a href="toc.html">toc</a> </div> </div> <hr> <div> <h1>oscRing -- create a polynomial ring for a given graph or number of oscillators</h1> <ul> <li> <dl class="element"> <dt>Usage: </dt> <dd><code class="language-macaulay2">S = oscRing G</code></dd> <dd><code class="language-macaulay2">S = oscRing n</code></dd> </dl> </li> <li>Inputs: <ul> <li><span><span class="tt">n</span>, <span>an <a title="the class of all integers" href="../../Macaulay2Doc/html/___Z__Z.html">integer</a></span>, The number of oscillators</span></li> <li><span><span class="tt">G</span>, <span>a <a href="../../Graphs/html/___Graph.html">graph</a></span>, The number of oscillators is the number of vertices in the Graph</span></li> </ul> </li> <li><a href="../../Macaulay2Doc/html/_using_spfunctions_spwith_spoptional_spinputs.html">Optional inputs</a>: <ul> <li><span><span class="tt">CoefficientRing</span><span class="tt"> => </span><span>a <a title="the class of all rings" href="../../Macaulay2Doc/html/___Ring.html">ring</a></span>, <span>default value QQ</span>, the coefficient ring to use, for numerical work, <a title="the class of all complex numbers" href="../../Macaulay2Doc/html/___C__C.html">CC</a> is a good choice</span></li> <li><span><span class="tt">Symbols</span><span class="tt"> => </span><span>a <a title="the class of all sequences -- (...)" href="../../Macaulay2Doc/html/___Sequence.html">sequence</a></span>, <span>default value (x,y)</span>, a sequence of two symbols. The first refers to the cosine of the given angles and the second refers to the sine of the given angles</span></li> <li><span><span class="tt">Reduced</span><span class="tt"> => </span><span>a <a title="the class of boolean values" href="../../Macaulay2Doc/html/___Boolean.html">Boolean value</a></span>, <span>default value false</span>, if true, then the angles are reduced to the first angle being 0. That is, the number of oscillators will be one less than the number of vertices of $G$</span></li> </ul> </li> <li>Outputs: <ul> <li><span><span>a <a title="the class of all rings" href="../../Macaulay2Doc/html/___Ring.html">ring</a></span>, </span></li> </ul> </li> </ul> <div> <h2>Description</h2> <div> <p>This function returns a polynomial ring in $2n$ variables representing the cosine and the sine of $n$ angles. Inputting a number assumes that the vertices are labeled $0, \ldots, n$.</p> </div> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i1 : oscRing(3, CoefficientRing => CC) o1 = CC [x ..y ] 53 0 2 o1 : PolynomialRing</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i2 : oscRing(3, CoefficientRing => CC, Symbols=>{c, s}) o2 = CC [c ..c , s ..s ] 53 0 2 0 2 o2 : PolynomialRing</code></pre> </td> </tr> </table> <div> <p>If one gives a graph with Reduced => true, then the number of angles considered is one less than the number of vertices of the graph.</p> </div> <table class="examples"> <tr> <td> <pre><code class="language-macaulay2">i3 : G = graph({0,1,2,3}, {{0,1},{1,2},{2,3},{0,3}}) o3 = Graph{0 => {1, 3}} 1 => {0, 2} 2 => {1, 3} 3 => {0, 2} o3 : Graph</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i4 : oscRing G o4 = QQ[x ..y ] 0 3 o4 : PolynomialRing</code></pre> </td> </tr> <tr> <td> <pre><code class="language-macaulay2">i5 : oscRing(G, CoefficientRing => CC, Reduced => true) o5 = CC [x ..y ] 53 1 3 o5 : PolynomialRing</code></pre> </td> </tr> </table> </div> <div> <h2>See also</h2> <ul> <li><span><a title="the ideal of the reduced equilibrium points of a dynamical system of oscillators" href="_osc__System.html">oscSystem</a> -- the ideal of the reduced equilibrium points of a dynamical system of oscillators</span></li> <li><span><a title="create the Jacobian for the oscillator system associated to a graph" href="_osc__Jacobian.html">oscJacobian</a> -- create the Jacobian for the oscillator system associated to a graph</span></li> <li><span><a title="displays a digraph or graph using Graphviz" href="../../Graphs/html/_display__Graph.html">displayGraph</a> -- displays a digraph or graph using Graphviz</span></li> </ul> </div> <div> <div class="waystouse"> <h2>Ways to use <span class="tt">oscRing</span>:</h2> <ul> <li><kbd>oscRing(Graph)</kbd></li> <li><kbd>oscRing(ZZ)</kbd></li> </ul> </div> <div class="waystouse"> <h2>For the programmer</h2> <p>The object <a title="create a polynomial ring for a given graph or number of oscillators" href="_osc__Ring.html">oscRing</a> is <span>a <a title="a type of method function" href="../../Macaulay2Doc/html/___Method__Function__With__Options.html">method function with options</a></span>.</p> </div> <hr> <div class="waystouse"> <p>The source of this document is in <span class="tt">Oscillators/Documentation.m2:201:0</span>.</p> </div> </div> </div> </body> </html>
Simpan