version 1.37, 2010/11/13 03:22:58
|
version 1.39, 2010/11/19 15:41:28
|
Line 74 sub geogebra_default_parameters {
|
Line 74 sub geogebra_default_parameters {
|
<param name="image" value="/adm/lonIcons/lonanim.gif" /> |
<param name="image" value="/adm/lonIcons/lonanim.gif" /> |
<param name="boxborder" value="false" /> |
<param name="boxborder" value="false" /> |
<param name="centerimage" value="true" /> |
<param name="centerimage" value="true" /> |
<param name="java_arguments" value="-Xmx512m" /> |
<param name="java_arguments" value="-Xmx512m -Djnlp.packEnabled=true" /> |
<param name="cache_archive" value="geogebra.jar, geogebra_main.jar, geogebra_gui.jar, geogebra_cas.jar, geogebra_export.jar, geogebra_properties.jar" /> |
<param name="cache_archive" value="geogebra.jar, geogebra_main.jar, geogebra_gui.jar, geogebra_cas.jar, geogebra_algos.jar, geogebra_export.jar, geogebra_javascript.jar, jlatexmath.jar, jlm_greek.jar, jlm_cyrillic.jar, geogebra_properties.jar" /> |
<param name="cache_version" value="3.2.44.0, 3.2.44.0, 3.2.44.0, 3.2.44.0, 3.2.44.0, 3.2.44.0" /> |
<param name="cache_version" value="3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0, 3.9.115.0" /> |
<param name="framePossible" value="false" /> |
<param name="framePossible" value="false" /> |
|
|
<param name="showResetIcon" value="false" /> |
<param name="showResetIcon" value="false" /> |
Line 417 sub start_functionplotrule {
|
Line 417 sub start_functionplotrule {
|
$token,'8'). |
$token,'8'). |
&Apache::edit::text_arg('Optional maximum length for range:','maximumlength', |
&Apache::edit::text_arg('Optional maximum length for range:','maximumlength', |
$token,'8').'<br />'. |
$token,'8').'<br />'. |
&Apache::edit::select_arg(&mt('Relationship:'),'relationship', |
&Apache::edit::select_or_text_arg(&mt('Relationship:'),'relationship', |
[['eq','equal'], |
[['eq','equal'], |
['ne','not equal'], |
['ne','not equal'], |
['ge','greater than or equal'], |
['ge','greater than or equal'], |
Line 595 sub d2dt2_cubic_hermite {
|
Line 595 sub d2dt2_cubic_hermite {
|
# |
# |
sub array_index { |
sub array_index { |
my ($xmin,$xmax,$x)=@_; |
my ($xmin,$xmax,$x)=@_; |
return int(($x-$xmin)/($xmax-$xmin)*400.+0.5); |
if ($x ne '') { |
|
return int(($x-$xmin)/($xmax-$xmin)*400.+0.5); |
|
} else { |
|
return undef; |
|
} |
} |
} |
|
|
# |
# |
Line 886 sub functionplotrulecheck {
|
Line 890 sub functionplotrulecheck {
|
# Basic sanity checks |
# Basic sanity checks |
if ($li<0) { $li=0; } |
if ($li<0) { $li=0; } |
if ($lh>400) { $lh=400; } |
if ($lh>400) { $lh=400; } |
if ($li>$lh) { |
if (($li>$lh) || (!defined($lh))) { |
$lh=$li; |
$lh=$li; |
} |
} |
|
|