[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #52921] Unable to write symbolic function to f
From: |
anonymous |
Subject: |
[Octave-bug-tracker] [bug #52921] Unable to write symbolic function to file |
Date: |
Wed, 17 Jan 2018 16:06:20 -0500 (EST) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; rv:52.0) Gecko/20100101 Firefox/52.0 |
URL:
<http://savannah.gnu.org/bugs/?52921>
Summary: Unable to write symbolic function to file
Project: GNU Octave
Submitted by: None
Submitted on: Wed 17 Jan 2018 09:06:19 PM UTC
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 4.2.1
Operating System: GNU/Linux
_______________________________________________________
Details:
Attached are the function and output:
make_all produces all the symbolic functions and writes them to the other
file.
This works and then appears to stop see below:
function [fy_d_Y0] = make_fy_d_Y0(c,o,p,k,X0,Y0,Z0,X,Y,Z)
fy_d_Y0=(sin(k)*sin(o)*sin(p) - cos(k)*cos(o))/((X - X0)*sin(p) - (Y -
Y0)*sin(o)*cos(p) + (Z - Z0)*cos(o)*cos(p)) - (c*(X - X0)*sin(k)*cos(p) + (Y -
Y0)*(-sin(k)*sin(o)*sin(p) + cos(k)*cos(o)) + (Z - Z0)*(sin(k)*sin(p)*cos(o) +
sin(o)*cos(k)))*sin(o)*cos(p)/((X - X0)*sin(p) - (Y - Y0)*sin(o)*cos(p) + (Z -
Z0)*cos(o)*cos(p))**2;
end
function [fx_d_Z0] = make_fx_d_Z0(c,o,p,k,X0,Y0,Z0,
The function fy_d_Y0 is written with no issue.
Note: If I comment out the fist function the output contains fx_d_Z0 but stops
somewhere else:
function [fy_d_Z0] = make_fy_d_Z0(c,o,p,k,X0,Y0,Z0,X,Y,Z)
fy_d_Z0=(-sin(k)*sin(p)*cos(o) - sin(o)*cos(k))/((X - X0)*sin(p) - (Y -
Y0)*sin(o)*cos
Is there a character limitation? Is there a better way to implement what I am
attempting to do?
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Wed 17 Jan 2018 09:06:19 PM UTC Name: make_all.m Size: 10KiB By:
None
<http://savannah.gnu.org/bugs/download.php?file_id=42942>
-------------------------------------------------------
Date: Wed 17 Jan 2018 09:06:19 PM UTC Name: partial_derivatives_EO.m Size:
4KiB By: None
<http://savannah.gnu.org/bugs/download.php?file_id=42943>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?52921>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
- [Octave-bug-tracker] [bug #52921] Unable to write symbolic function to file,
anonymous <=