replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: Search
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 145 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Puzzle asin(z) and acos(z)
arctica

Replies: 15
Views: 118559

PostForum: General   Posted: Fri Mar 07, 2025 4:25 pm   Subject:
Hi Ken

Here is a link to the NIST online mathematical library; it is updated on a regular basis from what I can tell and is a companion to the book (no longer in print).

https://dlmf.nist.gov/
...
  Topic: Puzzle asin(z) and acos(z)
arctica

Replies: 15
Views: 118559

PostForum: General   Posted: Thu Mar 06, 2025 12:47 pm   Subject:
Hi Ken

I updated the code with your latest revisions and it worked fine; the results match the output from Python using cmath as a check.

Interesting point, but Scilab and Octave both give the o ...
  Topic: Puzzle asin(z) and acos(z)
arctica

Replies: 15
Views: 118559

PostForum: General   Posted: Wed Mar 05, 2025 6:30 pm   Subject:
Thanks for the update Ken. Certainly is an interesting problem.

Lester
  Topic: Puzzle asin(z) and acos(z)
arctica

Replies: 15
Views: 118559

PostForum: General   Posted: Wed Mar 05, 2025 2:21 pm   Subject:
Test program to check the results of various inputs

program test_asin_acos

use complex_acos_asin
use iso_fortran_env

implicit none

integer :: i
integer, parameter :: wp=k ...
  Topic: Puzzle asin(z) and acos(z)
arctica

Replies: 15
Views: 118559

PostForum: General   Posted: Wed Mar 05, 2025 2:13 pm   Subject:
Hi Ken

I had a look at tweaking the module to cover all domains and it seems to work (so far) with your modifications.

module complex_acos_asin
implicit none

interface arcsin
...
  Topic: Puzzle asin(z) and acos(z)
arctica

Replies: 15
Views: 118559

PostForum: General   Posted: Sun Mar 02, 2025 5:25 pm   Subject:
Hi Ken

Good to see you found a solution to the problem.

Lester
  Topic: Puzzle asin(z) and acos(z)
arctica

Replies: 15
Views: 118559

PostForum: General   Posted: Sat Mar 01, 2025 3:38 pm   Subject:
Hi Ken

I tried a test code and get some values close to the expected result but it falls over for large values as a complex input to acos.

Using the explicit functions for acos and asin as func ...
  Topic: FTN95 and netCDF
arctica

Replies: 0
Views: 17183

PostForum: General   Posted: Tue Feb 18, 2025 12:21 pm   Subject: FTN95 and netCDF
Hello,

Just wondering if anyone has managed to build the netcdf Fortran module to work with FTN95 or if there are other ways to deal with netCDF in Fortran?

The code is rather involved!
! Test ...
  Topic: Running command line programs
arctica

Replies: 9
Views: 32771

PostForum: General   Posted: Wed Feb 12, 2025 6:05 pm   Subject:
Quick update.

Came across an old bit of code I had and this command works without issue for a long string:

call cissue@('grdinfo xyz-test-gmt.grd -C | ' // &
'gawk "{ ...
  Topic: Formatting equations
arctica

Replies: 19
Views: 59333

PostForum: ClearWin+   Posted: Tue Feb 11, 2025 4:51 pm   Subject:
Thanks for the info Paul.

Shame Clearwin cannot read Inkscape SVG files directly; the structure is slightly different.
  Topic: Formatting equations
arctica

Replies: 19
Views: 59333

PostForum: ClearWin+   Posted: Tue Feb 11, 2025 12:02 pm   Subject:
Thanks for the pointers.

Does Clearwin accept SVG files as input?

Lester
  Topic: Formatting equations
arctica

Replies: 19
Views: 59333

PostForum: ClearWin+   Posted: Mon Feb 10, 2025 2:35 pm   Subject: Formatting equations
Hello

I have tested the %eq option with a simplified test below:

winapp

program equations

implicit none

integer :: i, w, winio@
character(len=80) :: s

s = 't ...
  Topic: Learning Clearwin
arctica

Replies: 11
Views: 39407

PostForum: ClearWin+   Posted: Fri Feb 07, 2025 11:38 am   Subject:
Thanks Ken for the pointer to the Clearwin examples folder; that really helps.

Have updated the existing code with sliders for mass and velocity which worked! It is a start, but interesting to lear ...
  Topic: Learning Clearwin
arctica

Replies: 11
Views: 39407

PostForum: ClearWin+   Posted: Thu Feb 06, 2025 1:45 pm   Subject:
Thanks Ken for the code idea, that works for the basic structure I was looking to build.

Found the guide Paul, that will be a good start; a bit of a learning curve.

I did try to load the origina ...
  Topic: Learning Clearwin
arctica

Replies: 11
Views: 39407

PostForum: ClearWin+   Posted: Wed Feb 05, 2025 5:58 pm   Subject: Learning Clearwin
Hello

I built a test code using the tutorial as a template:

winapp

module schwarzschildmodule
use clrwin
implicit none

real(kind=2) :: mass = 1.0
real ...
 
Page 1 of 10 Goto page 1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group