Search results

Jump to navigation Jump to search

Page title matches

  • == Using Context Flags == ...ome contexts may have additional flags. To view the flags for the current Context, enter
    21 KB (2,546 words) - 17:18, 7 April 2021
  • ...tions</code> object of the current Context. See [[Answer Checkers and the Context]] for details about how to enable and disable these functions. This can be ...com/openwebwork/pg/blob/master/lib/Parser/Context/Default.pm pg/lib/Parser/Context/Default.pm]</code> for the definitions of all the functions, and
    3 KB (450 words) - 07:59, 13 August 2012
  • ...rators</code> object of the current Context. See [[Answer Checkers and the Context]] or the [[Introduction to Contexts#Operators|Introduction to Contexts]] fo ...com/openwebwork/pg/blob/master/lib/Parser/Context/Default.pm pg/lib/Parser/Context/Default.pm]</code> for the full definitions of the operators.
    8 KB (928 words) - 09:41, 26 May 2013
  • There is an explanation of the purpose of many of these flags at [[Context flags]]. == Listing Context Flags using PGLabs ==
    6 KB (641 words) - 07:16, 14 August 2012
  • ...tric functions are allowed in the answer, are controlled through the <code>Context()</code> rather than through the [[Answer Checkers (MathObjects)| MathObjec Context()->functions->disable('sin','cos','tan');
    4 KB (646 words) - 15:55, 23 February 2019

Page text matches

  • Context("Numeric"); Context()->texStrings;
    1 KB (108 words) - 17:31, 16 June 2021
  • |category=MathObject Context ...o be (expanded) polynomials (i.e., sums of multiples of powers of x). This context allows also requiring that there be only one term with each power of x.
    2 KB (209 words) - 12:57, 21 November 2010
  • ...combine all of these modifications into a single file and define your own context. ...your context, it is recommended practice to begin your filename with <code>context</code> and it must end with <code>.pl</code> as all macro files do. So your
    2 KB (381 words) - 11:52, 7 June 2013
  • There is an explanation of the purpose of many of these flags at [[Context flags]]. == Listing Context Flags using PGLabs ==
    6 KB (641 words) - 07:16, 14 August 2012
  • Context("Numeric"); my $context = Context()->copy;
    3 KB (383 words) - 16:19, 14 May 2010
  • #REDIRECT [[Context flags]]
    27 bytes (3 words) - 09:22, 19 August 2008
  • Context("Inequalities-Only"); Context()->variables->add(y=>"Real");
    4 KB (576 words) - 09:56, 28 June 2023
  • Context('Numeric'); my $context = Context()->copy;
    4 KB (493 words) - 06:07, 18 July 2023
  • Context("Point"); Context("Vector");
    2 KB (181 words) - 10:01, 6 January 2014
  • name starting with "context" -- e.g. <code>contextYourContextHere.pl</code>. === Specialized Context Macro files ===
    6 KB (745 words) - 17:21, 7 April 2021
  • #REDIRECT [[How to list Context flags]]
    39 bytes (6 words) - 17:30, 2 August 2012
  • #REDIRECT [[How to list Context flags]]
    39 bytes (6 words) - 17:56, 11 August 2012
  • Context('Fraction-NoDecimals'); Context("Fraction");
    4 KB (478 words) - 05:37, 18 July 2023
  • Context("LimitedNumeric"); Context("Numeric");
    1 KB (170 words) - 08:09, 13 May 2015
  • Context("Inequalities-Only"); Context()->flags->set(formatStudentAnswer=>'parsed');
    4 KB (528 words) - 05:46, 18 July 2023
  • ...mized versions of the Contexts from the problems you are using so that the Context settings match your preferences. ...if you give the new Context the same name as the original one, then <code>Context()</code> will find your modified one first rather than the original one. I
    4 KB (640 words) - 11:54, 7 June 2013
  • ## this uses the LegacyNumeric Context # Context("LegacyNumeric");
    3 KB (495 words) - 15:15, 16 July 2023
  • Load the usual suspects. The interval context and interval answer checker are part of <code>MathObjects.pl</code>. Context("Interval");
    3 KB (465 words) - 09:55, 28 June 2023
  • Context("Numeric"); Context()->texStrings;
    3 KB (438 words) - 05:50, 18 July 2023
  • # Context()->flags->set(reduceConstants=>0); Context()->flags->set(reduceConstants=>0);
    3 KB (344 words) - 19:23, 22 June 2021
  • Context("Numeric"); Context()->texStrings;
    2 KB (189 words) - 13:12, 16 June 2021
  • Context("Numeric"); Context()->texStrings;
    2 KB (186 words) - 13:13, 16 June 2021
  • This PG code shows how to add a named function to the context and use it to asses whether students know their graph transformations. ...<code>parserFunction.pl</code> so that we can add a named function to the context.
    4 KB (558 words) - 06:05, 18 July 2023
  • ...o which automatically loads <code>MathObjects.pl</code>. The LimitedPoint context does not allow operations between points. Context("LimitedPoint");
    4 KB (528 words) - 12:14, 16 July 2023
  • Context()-&gt;variables-&gt;add(t=&gt;"Real"); ...e(s), we can use <code>are</code> instead of <code>add</code> (e.g., <code>Context()-&gt;variables-&gt;are(t=&gt;"Real",z=&gt;"Real");</code>).
    2 KB (360 words) - 09:52, 28 June 2023
  • Context('Inequalities-Only')->variables->are(x=>'Real'); Context()->flags->set(formatStudentAnswer=>'parsed');
    4 KB (559 words) - 07:54, 18 July 2023
  • Context("Numeric"); Context()->functions->remove("tan");
    4 KB (554 words) - 06:00, 18 July 2023
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",z=>"Real");
    5 KB (638 words) - 05:49, 18 July 2023
  • Context("Numeric"); Context()->constants->add(k=>0.01);
    3 KB (489 words) - 09:14, 28 June 2023
  • ...quires using MathObjects or a macro file that loads MathObjects, so that a Context is defined. ..., we must be using MathObjects or a macro that loads MathObjects and has a Context.
    4 KB (623 words) - 09:18, 28 June 2023
  • Context("Vector"); Context()->texStrings;
    4 KB (496 words) - 05:44, 18 July 2023
  • ...tric functions are allowed in the answer, are controlled through the <code>Context()</code> rather than through the [[Answer Checkers (MathObjects)| MathObjec Context()->functions->disable('sin','cos','tan');
    4 KB (646 words) - 15:55, 23 February 2019
  • ...ode>. Infinity can be created in any Context, though <code>Numeric</code> context is commonly used. Context("Numeric");
    2 KB (225 words) - 05:32, 6 August 2012
  • Context("Numeric")->variables->add(y=>"Real"); The <code>Numeric</code> context automatically defines
    3 KB (441 words) - 09:20, 28 June 2023
  • ...ion.pl</code> is loaded since we used the <code>Fraction-NoDecimals</text> context. Context('Fraction-NoDecimals');
    4 KB (607 words) - 05:59, 18 July 2023
  • Context("Numeric"); ...the context, see [http://webwork.maa.org/wiki/StringsInContext strings in context].
    4 KB (610 words) - 06:06, 18 July 2023
  • Context("Numeric"); ...maa.org/pod/pg/macros/parserRadioButtons.html parserRadioButtons.pl]. The context is not really necessary, but multiple choice questions are often follow-up
    4 KB (564 words) - 07:17, 17 July 2023
  • Context("Numeric"); Context()->texStrings;
    2 KB (325 words) - 11:42, 24 June 2013
  • Context("Numeric"); Context()->texStrings;
    2 KB (260 words) - 13:13, 16 June 2021
  • ...tions</code> object of the current Context. See [[Answer Checkers and the Context]] for details about how to enable and disable these functions. This can be ...com/openwebwork/pg/blob/master/lib/Parser/Context/Default.pm pg/lib/Parser/Context/Default.pm]</code> for the definitions of all the functions, and
    3 KB (450 words) - 07:59, 13 August 2012
  • Context("ImplicitPlane"); Context("ImplicitPlane");
    4 KB (526 words) - 12:12, 16 July 2023
  • Context("ImplicitPlane"); Context()->variables->remove("z");
    2 KB (333 words) - 09:45, 28 June 2023
  • Context("Numeric")->variables->are(a=>"Real",b=>"Real"); Context()->texStrings;
    3 KB (445 words) - 16:50, 20 June 2023
  • Context("Vector2D"); #Context("Vector"); # for 3d vectors
    5 KB (652 words) - 07:52, 18 July 2023
  • Context("....."); Define context and variables for the questions
    3 KB (376 words) - 23:41, 14 April 2021
  • Context("Numeric"); Context()->texStrings;
    2 KB (259 words) - 17:38, 16 June 2021
  • This PG code shows how to use the context TrigDegrees to redefine trigonometric functions so they evaluate in degrees Context("TrigDegrees");
    5 KB (630 words) - 15:20, 16 July 2023
  • | style="padding:5px" | Similar to <code>Numeric</code> context, but <code>(a,b)</code>, <code>(a,b]</code>, <code>[a,b)</code>, and <code> | style="padding:5px" | Similar to <code>Point</code> context, but allows coordinates to be complex numbers (i.e., <code>i</code> is defi
    3 KB (480 words) - 08:57, 7 May 2015
  • Context("Numeric"); Context()->functions->remove("cos");
    9 KB (1,306 words) - 16:36, 21 July 2021
  • This PG code shows how to add a named function to the context and use it to ask students to come up with a recursive formula. ...rserFunction.pl</code>. There is a more basic way to add functions to the context, which is explained in example 2 at
    5 KB (682 words) - 07:44, 18 July 2023
  • Context("Matrix"); Use <code>Context("Matrix");</code>.
    4 KB (606 words) - 06:23, 18 July 2023
  • my $context = Context()->copy; $context->flags->set(no_parameters=>0);
    7 KB (1,066 words) - 16:41, 20 June 2023
  • Context("Numeric")->variables->add(y=>"Real",z=>"Real"); Context()->texStrings;
    4 KB (549 words) - 05:48, 18 July 2023
  • Context("Numeric"); Context("LimitedPolynomial-Strict");
    4 KB (589 words) - 05:47, 18 July 2023
  • Context("Numeric")->variables->add(y=>"Real"); We have to tell the context that we are allowing the assignment of a variable to a formula.
    4 KB (588 words) - 06:11, 18 July 2023
  • Context("Numeric"); ...[http://webwork.maa.org/pod/pg/macros/parserPopUp.html parserPopUp.pl] The context is not really necessary, but multiple choice questions are often follow-up
    4 KB (599 words) - 07:18, 17 July 2023
  • Context("Numeric"); Context()->texStrings;
    2 KB (356 words) - 16:19, 14 May 2010
  • Context("Numeric"); Context()->texStrings;
    4 KB (535 words) - 06:05, 18 July 2023
  • Context("Numeric"); Context()->texStrings;
    4 KB (619 words) - 07:41, 17 July 2023
  • ...s for display. By default, it uses a special context called the [[Typeset Context]] that includes many more functions and operators than most other contexts. If you want to use a different context, however, you can select one by putting its name in braces after the closin
    4 KB (716 words) - 11:42, 28 October 2021
  • Context("Numeric")->variables->are(x=&gt;"Real",y=&gt;"Real"); Context()->texStrings;
    4 KB (557 words) - 05:42, 18 July 2023
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",u=>"Real");
    3 KB (475 words) - 09:11, 28 June 2023
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",z=>"Real",u=>"Real",v=>"Real");
    4 KB (595 words) - 07:49, 18 July 2023
  • <h2>Adding Functions to the Context: PG Code Snippet</h2> ...is code snippet shows the essential PG code to add a named function to the Context in a problem. Note that these are <b>insertions</b>, not a complete PG f
    6 KB (938 words) - 16:42, 20 June 2023
  • Context("Numeric")->variables->add(y=>"Real"); Context()->constants->add(k=>0.01);
    3 KB (394 words) - 18:06, 7 April 2021
  • Context("Numeric"); Context()->variables->are(
    5 KB (746 words) - 06:15, 18 July 2023
  • Context("Numeric"); Context()->variables->are(
    5 KB (700 words) - 06:17, 18 July 2023
  • Context()-&gt;strings-&gt;add(none=&gt;{}); # Context()-&gt;strings-&gt;add(none=&gt;{caseSensitive=&gt;1});
    4 KB (656 words) - 16:49, 20 June 2023
  • Context("Vector")->variables->are(t=>"Real"); Context()->texStrings;
    4 KB (608 words) - 07:52, 18 July 2023
  • ...rserFunction.pl</code>. There is a more basic way to add functions to the context, which is explained in example 2 at Context("Numeric")->variables->are(n=>"Real");
    4 KB (573 words) - 14:48, 16 July 2023
  • Context("Vector2D"); #Context("Vector"); # for 3D vectors
    6 KB (755 words) - 07:51, 18 July 2023
  • Context("Numeric"); Context()->texStrings;
    3 KB (407 words) - 17:55, 7 April 2021
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",z=>"Real",t=>"Real");
    5 KB (655 words) - 07:48, 18 July 2023
  • Context( "Point" ); We don't use <code>Context("Vector");</code> and <code>norm( $point[0] - $point[1] )</code> here
    4 KB (631 words) - 09:42, 28 June 2023
  • my $value = $self->context->flag("setSqrt"); Context("Numeric")->variables->are(
    4 KB (562 words) - 17:56, 7 April 2021
  • Context("Numeric"); Context()->functions->disable("All");
    4 KB (551 words) - 09:06, 28 June 2023
  • * The <tt>parserImplicitPlane.pl</tt> macro includes the context and the <tt>ImplicitPlane</tt> function to parse and create implicit planes Context('ImplicitPlane');
    4 KB (633 words) - 06:30, 18 July 2023
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",r=>"Real",t=>"Real");
    5 KB (662 words) - 06:33, 18 July 2023
  • Context("Vector")->variables->are(x=>'Real',y=>'Real'); Context()->texStrings;
    3 KB (441 words) - 16:53, 20 June 2023
  • Context('ImplicitEquation'); Context()->{error}{msg}{
    4 KB (587 words) - 05:43, 18 July 2023
  • Context("Numeric")->variables->are(t=>"Real"); Context()->functions->remove("sin");
    5 KB (792 words) - 07:56, 18 July 2023
  • ...ntext. It also shows how to add a named function <code>u(x)</code> to the context that has a reliable answer checker and can stand in for the Heaviside step We load <code>parserFunction.pl</code> to make adding a named function to the context easier.
    9 KB (1,443 words) - 06:27, 18 July 2023
  • ...the array when used in scalar context.) The most common usage is the array context.</blockquote>
    2 KB (311 words) - 18:45, 18 November 2009
  • ...enter, or, alternately, it is possible to specifically indicate within the context what functions or operations are not allowed. In the following, we first c ...me</i>.pl</code>, where <code><i>ContextName</i></code> is the name of the context used in the problem set-up section of the problem.
    10 KB (1,530 words) - 09:23, 28 June 2023
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",z=>"Real",t=>"Real");
    4 KB (524 words) - 11:03, 29 June 2023
  • ...athObjects we can control tolerance by setting a "global" tolerance in the Context, as shown in the example below, or by specifying the tolerance that is used Context("Numeric");
    6 KB (779 words) - 16:40, 20 June 2023
  • Context("Numeric"); Context()->texStrings;
    5 KB (783 words) - 16:54, 20 June 2023
  • Context("Numeric")->variables->are(t=>"Real"); Context("Numeric")->variables->are(t=>"Real");
    5 KB (717 words) - 06:01, 18 July 2023
  • <label for="context">Context</label> <select id="context" name="context">
    945 bytes (111 words) - 15:06, 21 June 2021
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",r=>"Real",s=>"Real",t=>"Real");
    4 KB (531 words) - 11:00, 29 June 2023
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",r=>"Real",s=>"Real",t=>"Real");
    5 KB (708 words) - 06:32, 18 July 2023
  • Context('Matrix'); Context()->texStrings;
    6 KB (884 words) - 06:24, 18 July 2023
  • Context('Matrix'); Context()->texStrings;
    4 KB (510 words) - 06:26, 18 July 2023
  • ...to create Points in <math>{\bf C}^n</math>, though there is no pre-defined Context that makes this easy to do. Context("Point");
    4 KB (584 words) - 17:56, 7 April 2021
  • Context("Numeric"); Context()->variables->are(x=>"Real",y=>"Real",r=>"Real",t=>"Real");
    4 KB (528 words) - 10:58, 29 June 2023
  • Context("Numeric"); Context()->texStrings;
    3 KB (314 words) - 21:02, 1 August 2022
  • ...ext and the LimitedPowers context for factoring, and the LimitedPolynomial context for expanding.</li> ...ptive parameters and a MultiAnswer for factoring and the LimitedPolynomial context for expanding.</li>
    11 KB (1,537 words) - 09:43, 28 June 2023
  • Context("ImplicitEquation"); Context()-&gt;variables-&gt;set(
    5 KB (799 words) - 09:30, 28 June 2023
  • Context("Vector"); Context()->operators->undefine(".","><");
    6 KB (820 words) - 06:28, 18 July 2023
  • Context('Numeric'); Context('PolynomialFactors-Strict');
    4 KB (583 words) - 05:48, 18 July 2023

View (previous 100 | next 100) (20 | 50 | 100 | 250 | 500)